mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-20 19:07:01 +02:00
Audio: support 12-channel AudioOut2 output with SDL (#498)
* Audio: support 12-channel AudioOut2 output via stereo downmix * Audio: document 7.1.4 downmix matrix and align s16 coefficients * audio: use shared 12-to-8 channel conversion for SDL --------- Co-authored-by: Airsoft Project <airsoft@example.com> Co-authored-by: nmzik <Nmzik@mail.ru>
This commit is contained in:
@@ -261,6 +261,11 @@ static AudioInternal::Format audioout2_data_format_to_audio_format(uint32_t data
|
||||
case 8:
|
||||
return is_std ? AudioInternal::Format::Float8ChStd
|
||||
: AudioInternal::Format::Float8Ch;
|
||||
case 12:
|
||||
if (!is_std) {
|
||||
return AudioInternal::Format::Float12Ch;
|
||||
}
|
||||
break;
|
||||
default: break;
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user