diff options
author | Peter Schlaile <peter@schlaile.de> | 2006-05-19 17:30:23 +0400 |
---|---|---|
committer | Peter Schlaile <peter@schlaile.de> | 2006-05-19 17:30:23 +0400 |
commit | 33b8aba3e37986b98e60ae6e90e75cc8b9abbe25 (patch) | |
tree | 8396070fec71ad6a28a3ba432bc2bd01f25f07bf /source/blender/src/seqaudio.c | |
parent | 594b0bf041cc9fb4dbb3445ad1333930df700829 (diff) |
=== Sequencer ===
Bugfixes:
- Made the HDD-Audio-Code silence buffers in advance before doing a seek
operation. Stops noise on end of file or decoding errors.
- Corrected hanging of audio decoding loop bug on some MP3-files.
(you had to close blender and restart)
- Made preseeking code not seek before beginning of file.
seqaudio:
- made some "local globals" static.
Problems remaining: VBR-MP3-length isn't detected correctly so the
displayed sequence strip is too long...
Diffstat (limited to 'source/blender/src/seqaudio.c')
-rw-r--r-- | source/blender/src/seqaudio.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/src/seqaudio.c b/source/blender/src/seqaudio.c index abeb6244e39..0ce88b0cb43 100644 --- a/source/blender/src/seqaudio.c +++ b/source/blender/src/seqaudio.c @@ -87,10 +87,10 @@ void audio_fill(void *mixdown, Uint8 *sstream, int len); /* ************ GLOBALS ************* */ -int audio_pos; -SDL_AudioSpec wav_spec; -int audio_scrub=0; -int audio_playing=0; +static int audio_pos; +static SDL_AudioSpec wav_spec; +static int audio_scrub=0; +static int audio_playing=0; ///// // /* local protos ------------------- */ |