# HG changeset patch # User nenolod # Date 1159676392 25200 # Node ID 72ad216a01aca9fa4b9ed009955123636692316d # Parent d42917f142b564a6a749ce33b3d2d3186df83847 [svn] - tell audacious that playback is starting when we open an alac file - hookup alac to the build diff -r d42917f142b5 -r 72ad216a01ac ChangeLog --- a/ChangeLog Sat Sep 30 21:11:48 2006 -0700 +++ b/ChangeLog Sat Sep 30 21:19:52 2006 -0700 @@ -1,3 +1,11 @@ +2006-10-01 04:11:48 +0000 William Pitcock + revision [116] + - remove debugging notices + + trunk/src/alac/plugin.c | 8 -------- + 1 file changed, 8 deletions(-) + + 2006-10-01 03:58:51 +0000 William Pitcock revision [114] - fix crashing. works on my x64 box, static on bigendian (tested: x64-be, mips, ppc64) diff -r d42917f142b5 -r 72ad216a01ac configure.ac --- a/configure.ac Sat Sep 30 21:11:48 2006 -0700 +++ b/configure.ac Sat Sep 30 21:19:52 2006 -0700 @@ -85,7 +85,7 @@ dnl These plugins are always built. -INPUT_PLUGINS="tonegen console sexypsf wav cue" +INPUT_PLUGINS="tonegen console sexypsf wav cue alac" OUTPUT_PLUGINS="disk_writer" EFFECT_PLUGINS="audiocompress ladspa voice_removal" GENERAL_PLUGINS="song_change" @@ -1084,6 +1084,7 @@ echo " Game music (spc, nsf & gbs): yes" echo " PlayStation audio (sexypsf): yes" echo " AdLib synthesizer (adplug): $have_adplug" +echo " Apple Lossless Audio Codec (alac): yes" echo echo " General" echo " -------" diff -r d42917f142b5 -r 72ad216a01ac src/alac/plugin.c --- a/src/alac/plugin.c Sat Sep 30 21:11:48 2006 -0700 +++ b/src/alac/plugin.c Sat Sep 30 21:19:52 2006 -0700 @@ -234,8 +234,6 @@ input_file = vfs_fopen((char *) args, "rb"); input_stream = stream_create_file(input_file, 1); - printf("filename: %s\n", (char *) args); - if (!input_stream) { fprintf(stderr, "failed to create input stream from file\n"); @@ -254,6 +252,7 @@ init_sound_converter(&demux_res); alac_ip.output->open_audio(FMT_S16_LE, demux_res.sample_rate, demux_res.num_channels); + alac_ip.set_info((char *) args, -1, -1, demux_res.sample_rate, demux_res.num_channels); /* will convert the entire buffer */ GetBuffer(&demux_res);