Fix XMAInitializeContext is_stereo flag.

This commit is contained in:
Dr. Chat 2016-01-30 13:04:52 -06:00
parent 7cfa664b2d
commit bf2c3d34da
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.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.loop_start = context_init->loop_data.loop_start;