Mercurial > audlegacy-plugins
comparison src/wav/wav.c @ 1998:8f3188746b64
chase last changeset in aud
author | William Pitcock <nenolod@atheme.org> |
---|---|
date | Mon, 08 Oct 2007 02:02:02 -0500 |
parents | 7cadca1a29ec |
children | 2f2ffbc2d04d |
comparison
equal
deleted
inserted
replaced
1997:9d0f5be50219 | 1998:8f3188746b64 |
---|---|
244 | 244 |
245 if (actual_read == 0) | 245 if (actual_read == 0) |
246 playback->eof = TRUE; | 246 playback->eof = TRUE; |
247 else { | 247 else { |
248 if (wav_file->seek_to == -1) | 248 if (wav_file->seek_to == -1) |
249 produce_audio(playback->output->written_time(), | 249 playback->pass_audio(playback, |
250 (wav_file->bits_per_sample == | 250 (wav_file->bits_per_sample == |
251 16) ? FMT_S16_LE : FMT_U8, | 251 16) ? FMT_S16_LE : FMT_U8, |
252 wav_file->channels, bytes, data, | 252 wav_file->channels, bytes, data, |
253 &playback->playing); | 253 &playback->playing); |
254 wav_file->position += actual_read; | 254 wav_file->position += actual_read; |