mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 19:45:20 +00: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;
|
||||
}
|
||||
break;
|
||||
case microphone_handler::rocksmith: num_channels = 1; break;
|
||||
case microphone_handler::rocksmith:
|
||||
num_channels = 1;
|
||||
break;
|
||||
case microphone_handler::null:
|
||||
default: ensure(false); break;
|
||||
default:
|
||||
ensure(false);
|
||||
break;
|
||||
}
|
||||
|
||||
ALCenum num_al_channels;
|
||||
switch (num_channels)
|
||||
{
|
||||
case 1: num_al_channels = AL_FORMAT_MONO16; break;
|
||||
case 1:
|
||||
num_al_channels = AL_FORMAT_MONO16;
|
||||
break;
|
||||
case 2:
|
||||
// If we're using SingStar each device needs to be mono
|
||||
if (device_type == microphone_handler::singstar)
|
||||
|
|
Loading…
Add table
Reference in a new issue