Mercurial > audlegacy-plugins
diff src/wav/wav.h @ 1380:1387432199cf
Fixed various bugs i the wav (not wav-sndfile) plugin:
- Use playback->playing and playback->eof instead of own vars.
- Handle songend and set playback->playing = 0 internaly.
author | Christian Birchinger <joker@netswarm.net> |
---|---|
date | Thu, 26 Jul 2007 21:07:10 +0200 |
parents | 973d9b624987 |
children | e75a4add2e4b |
line wrap: on
line diff
--- a/src/wav/wav.h Thu Jul 26 15:11:44 2007 +0300 +++ b/src/wav/wav.h Thu Jul 26 21:07:10 2007 +0200 @@ -45,11 +45,11 @@ typedef struct { VFSFile *file; - short format_tag, channels, block_align, bits_per_sample, eof; + short format_tag, channels, block_align, bits_per_sample; long samples_per_sec, avg_bytes_per_sec; unsigned long position, length; glong seek_to; - int data_offset, going; + int data_offset; pid_t pid; } WaveFile;