# HG changeset patch # User William Pitcock # Date 1191786176 18000 # Node ID 7cadca1a29ec10e6fb5a6c23a1336d120f16d6e0 # Parent b7bb2753677c7bfb9983b0b3a38863aabc66f148 wav: set_params() diff -r b7bb2753677c -r 7cadca1a29ec src/wav/wav-sndfile.c --- a/src/wav/wav-sndfile.c Sun Oct 07 14:40:32 2007 -0500 +++ b/src/wav/wav-sndfile.c Sun Oct 07 14:42:56 2007 -0500 @@ -449,7 +449,7 @@ return; } - wav_ip.set_info (song_title, song_length, bit_rate, sfinfo.samplerate, sfinfo.channels); + playback->set_params(playback, song_title, song_length, bit_rate, sfinfo.samplerate, sfinfo.channels); g_free (song_title); playback->playing = TRUE; diff -r b7bb2753677c -r 7cadca1a29ec src/wav/wav.c --- a/src/wav/wav.c Sun Oct 07 14:40:32 2007 -0500 +++ b/src/wav/wav.c Sun Oct 07 14:42:56 2007 -0500 @@ -388,7 +388,7 @@ rate = wav_file->samples_per_sec * wav_file->channels * (wav_file->bits_per_sample / 8); - wav_ip.set_info(name, 1000 * (wav_file->length / rate), 8 * rate, + playback->set_params(playback, name, 1000 * (wav_file->length / rate), 8 * rate, wav_file->samples_per_sec, wav_file->channels); g_free(name); wav_file->seek_to = -1;