diff src/wav/wav.c @ 1988:7cadca1a29ec

wav: set_params()
author William Pitcock <nenolod@atheme.org>
date Sun, 07 Oct 2007 14:42:56 -0500
parents 839804c3b3a4
children 8f3188746b64
line wrap: on
line diff
--- 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;