diff options
author | Takamichi Horikawa <takamichiho@gmail.com> | 2018-01-03 23:32:07 +0900 |
---|---|---|
committer | Takamichi Horikawa <takamichiho@gmail.com> | 2018-01-03 23:32:07 +0900 |
commit | 0f8ada275cae8d6e4517307ca9a93c6c0fa6146e (patch) | |
tree | 765d0d4a5539dc1f129d4224aa796e8d39f1bafe /gtk | |
parent | 14781af5d17e83285054804b2093d3579d49dbbd (diff) |
renamed to 98fmplayer
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/Makefile.am | 22 | ||||
-rw-r--r-- | gtk/main.c | 4 |
2 files changed, 13 insertions, 13 deletions
diff --git a/gtk/Makefile.am b/gtk/Makefile.am index 0b3e8bc..5370746 100644 --- a/gtk/Makefile.am +++ b/gtk/Makefile.am @@ -1,4 +1,4 @@ -bin_PROGRAMS=fmplayer +bin_PROGRAMS=98fmplayer LIBOPNA_SRC=../libopna/opnaadpcm.c \ ../libopna/opnadrum.c \ @@ -31,29 +31,29 @@ if ENABLE_ALSA SOUNDOUT_SRC+=../soundout/alsaout.c endif -#fmplayer_CFLAGS=$(CFLAGS) +#98fmplayer_CFLAGS=$(CFLAGS) #CFLAGS= -fmplayer_CPPFLAGS=-Wall -Wextra -pedantic \ +98fmplayer_CPPFLAGS=-Wall -Wextra -pedantic \ -I$(top_srcdir)/.. -I$(top_srcdir)/../soundout \ $(GTK3_CFLAGS) $(JACK_CFLAGS) $(PULSE_CFLAGS) $(ALSA_CFLAGS) $(SNDFILE_CFLAGS) \ -DPACC_GL_3 -DLIBOPNA_ENABLE_LEVELDATA -DLIBOPNA_ENABLE_OSCILLO -fmplayer_LDADD=$(GTK3_LIBS) $(JACK_LIBS) $(PULSE_LIBS) $(ALSA_LIBS) $(SNDFILE_LIBS) -lm -lpthread +98fmplayer_LDADD=$(GTK3_LIBS) $(JACK_LIBS) $(PULSE_LIBS) $(ALSA_LIBS) $(SNDFILE_LIBS) -lm -lpthread if ENABLE_NEON LIBOPNA_SRC+=../libopna/opnassg-sinc-neon.s FMDSP_SRC+=../fmdsp/fmdsp-vramlookup-neon.s -fmplayer_CCASFLAGS=-march=armv8-a -mfpu=crypto-neon-fp-armv8 +98fmplayer_CCASFLAGS=-march=armv8-a -mfpu=crypto-neon-fp-armv8 endif if ENABLE_SSE noinst_LIBRARIES=libsse.a -fmplayer_LDADD+=libsse.a +98fmplayer_LDADD+=libsse.a libsse_a_SOURCES=../libopna/opnassg-sinc-sse2.c -libsse_a_CPPFLAGS=$(fmplayer_CPPFLAGS) +libsse_a_CPPFLAGS=$(98fmplayer_CPPFLAGS) libsse_a_CFLAGS=-msse2 endif -fmplayer_SOURCES=main.c \ +98fmplayer_SOURCES=main.c \ toneview.c \ wavesave.c \ ../tonedata/tonedata.c \ @@ -70,8 +70,8 @@ fmplayer_SOURCES=main.c \ configdialog.c if ENABLE_OPENGL -fmplayer_SOURCES+=oscilloview-gl.c -fmplayer_LDADD+=-lGL +98fmplayer_SOURCES+=oscilloview-gl.c +98fmplayer_LDADD+=-lGL else -fmplayer_SOURCES+=oscilloview.c +98fmplayer_SOURCES+=oscilloview.c endif @@ -184,7 +184,7 @@ static bool openfile(const char *uri) { goto err; } if (!g.ss) { - g.ss = sound_init("FMPlayer", SRATE, soundout_cb, &g.opna_timer); + g.ss = sound_init("98FMPlayer", SRATE, soundout_cb, &g.opna_timer); if (!g.ss) { msgbox_err("cannot open audio stream"); goto err; @@ -551,7 +551,7 @@ int main(int argc, char **argv) { GtkWidget *w = gtk_window_new(GTK_WINDOW_TOPLEVEL); g.mainwin = w; gtk_window_set_resizable(GTK_WINDOW(w), FALSE); - gtk_window_set_title(GTK_WINDOW(w), "FMPlayer"); + gtk_window_set_title(GTK_WINDOW(w), "98FMPlayer"); g_signal_connect(w, "destroy", G_CALLBACK(on_destroy), 0); g.root_box_widget = gtk_box_new(GTK_ORIENTATION_VERTICAL, 0); gtk_container_add(GTK_CONTAINER(w), g.root_box_widget); |