== 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:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user