mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-05 14:31:24 +12:00
cellMic: minor format changes for readability
This commit is contained in:
parent
7bce99d77b
commit
0115c2f70a
1 changed files with 9 additions and 3 deletions
|
@ -287,15 +287,21 @@ error_code microphone_device::open_microphone(const u8 type, const u32 dsp_r, co
|
||||||
num_channels = 2;
|
num_channels = 2;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case microphone_handler::rocksmith: num_channels = 1; break;
|
case microphone_handler::rocksmith:
|
||||||
|
num_channels = 1;
|
||||||
|
break;
|
||||||
case microphone_handler::null:
|
case microphone_handler::null:
|
||||||
default: ensure(false); break;
|
default:
|
||||||
|
ensure(false);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
ALCenum num_al_channels;
|
ALCenum num_al_channels;
|
||||||
switch (num_channels)
|
switch (num_channels)
|
||||||
{
|
{
|
||||||
case 1: num_al_channels = AL_FORMAT_MONO16; break;
|
case 1:
|
||||||
|
num_al_channels = AL_FORMAT_MONO16;
|
||||||
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
// If we're using SingStar each device needs to be mono
|
// If we're using SingStar each device needs to be mono
|
||||||
if (device_type == microphone_handler::singstar)
|
if (device_type == microphone_handler::singstar)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue