mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-24 09:14:04 +02:00
Prioritize s16 over f32 since it is better supported by hardware.
This commit is contained in:
@@ -3076,8 +3076,8 @@ mal_uint32 g_malStandardSampleRatePriorities[] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
mal_format g_malFormatPriorities[] = {
|
mal_format g_malFormatPriorities[] = {
|
||||||
mal_format_f32, // Most common
|
mal_format_s16, // Most common
|
||||||
mal_format_s16,
|
mal_format_f32,
|
||||||
|
|
||||||
//mal_format_s24_32, // Clean alignment
|
//mal_format_s24_32, // Clean alignment
|
||||||
mal_format_s32,
|
mal_format_s32,
|
||||||
|
|||||||
Reference in New Issue
Block a user