mirror of
https://github.com/AxioDL/boo.git
synced 2025-05-15 03:41:23 +00:00
Remove unnecessary loop contents
This commit is contained in:
parent
4a55a04e18
commit
74bdd2d2a5
@ -191,11 +191,6 @@ struct PulseAudioVoiceEngine : LinuxMidi
|
|||||||
ChannelMap& chmapOut = m_mixInfo.m_channelMap;
|
ChannelMap& chmapOut = m_mixInfo.m_channelMap;
|
||||||
m_mixInfo.m_channels = AudioChannelSet::Unknown;
|
m_mixInfo.m_channels = AudioChannelSet::Unknown;
|
||||||
|
|
||||||
static const std::array<AudioChannelSet, 4> testSets =
|
|
||||||
{{AudioChannelSet::Surround71, AudioChannelSet::Surround51,
|
|
||||||
AudioChannelSet::Quad, AudioChannelSet::Stereo}};
|
|
||||||
for (AudioChannelSet set : testSets)
|
|
||||||
{
|
|
||||||
uint64_t chBits = 0;
|
uint64_t chBits = 0;
|
||||||
chmapOut.m_channelCount = chm->channels;
|
chmapOut.m_channelCount = chm->channels;
|
||||||
for (unsigned c=0 ; c<chm->channels ; ++c)
|
for (unsigned c=0 ; c<chm->channels ; ++c)
|
||||||
@ -233,6 +228,11 @@ struct PulseAudioVoiceEngine : LinuxMidi
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static const std::array<AudioChannelSet, 4> testSets =
|
||||||
|
{{AudioChannelSet::Surround71, AudioChannelSet::Surround51,
|
||||||
|
AudioChannelSet::Quad, AudioChannelSet::Stereo}};
|
||||||
|
for (AudioChannelSet set : testSets)
|
||||||
|
{
|
||||||
switch (set)
|
switch (set)
|
||||||
{
|
{
|
||||||
case AudioChannelSet::Stereo:
|
case AudioChannelSet::Stereo:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user