mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-22 00:06:59 +02:00
Fix a bug with duplex mode in the deviceio test.
This commit is contained in:
@@ -653,7 +653,7 @@ int main(int argc, char** argv)
|
|||||||
deviceFormat = ma_format_f32;
|
deviceFormat = ma_format_f32;
|
||||||
}
|
}
|
||||||
if (deviceChannels == 0) {
|
if (deviceChannels == 0) {
|
||||||
deviceChannels = 0;
|
deviceChannels = 2;
|
||||||
}
|
}
|
||||||
if (deviceSampleRate == 0) {
|
if (deviceSampleRate == 0) {
|
||||||
deviceSampleRate = 48000;
|
deviceSampleRate = 48000;
|
||||||
|
|||||||
Reference in New Issue
Block a user