== Sequencer ==

Bugfixes:
- Previous seqaudio-patch broke mixdown functionality (no need to init SDL
  on mixdown case... || -> && )
- hddaudio-crash at end of track finally fixed.
This commit is contained in:
Peter Schlaile
2006-06-24 20:48:57 +00:00
parent 2fc243bf6c
commit 893df43892
2 changed files with 2 additions and 2 deletions

View File

@@ -377,7 +377,7 @@ static void sound_hdaudio_extract_small_block(
memset(hdaudio->decode_cache, 0,
hdaudio->decode_cache_size * sizeof(short));
hdaudio->decode_cache_zero = 0;
hdaudio->decode_cache_zero = hdaudio->decode_cache;
while(av_read_frame(hdaudio->pFormatCtx, &packet) >= 0) {
int data_size;

View File

@@ -512,7 +512,7 @@ void audiostream_play(Uint32 startframe, Uint32 duration, int mixdown)
sound_init_audio();
}
if (!audio_initialised || !(duration + mixdown)) {
if (!audio_initialised && !(duration + mixdown)) {
desired.freq=G.scene->audio.mixrate;
desired.format=AUDIO_S16SYS;
desired.channels=2;