Merge pull request #527 from DrChat/xma_stereo_fix

XMAInitializeContext Stereo Audio Fix
This commit is contained in:
Ben Vanik 2016-01-30 11:06:55 -08:00
commit bc9acd5ba7
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ dword_result_t XMAInitializeContext(lpvoid_t context_ptr,
// context.work_buffer = context_init->work_buffer; // ? // context.work_buffer = context_init->work_buffer; // ?
context.subframe_decode_count = context_init->subframe_decode_count; context.subframe_decode_count = context_init->subframe_decode_count;
context.is_stereo = context_init->channel_count == 2; context.is_stereo = context_init->channel_count >= 1;
context.sample_rate = context_init->sample_rate; context.sample_rate = context_init->sample_rate;
context.loop_start = context_init->loop_data.loop_start; context.loop_start = context_init->loop_data.loop_start;