本文整理汇总了C++中AudioChannelSet函数的典型用法代码示例。如果您正苦于以下问题:C++ AudioChannelSet函数的具体用法?C++ AudioChannelSet怎么用?C++ AudioChannelSet使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了AudioChannelSet函数的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。
示例1: AudioChannelSet
AudioChannelSet AudioChannelSet::namedChannelSet (int numChannels)
{
if (numChannels == 1) return AudioChannelSet::mono();
if (numChannels == 2) return AudioChannelSet::stereo();
if (numChannels == 3) return AudioChannelSet::createLCR();
if (numChannels == 4) return AudioChannelSet::quadraphonic();
if (numChannels == 5) return AudioChannelSet::create5point0();
if (numChannels == 6) return AudioChannelSet::create5point1();
if (numChannels == 7) return AudioChannelSet::create7point0();
if (numChannels == 8) return AudioChannelSet::create7point1();
return AudioChannelSet();
}
开发者ID:0x4d52,项目名称:JUCE,代码行数:13,代码来源:juce_AudioChannelSet.cpp
示例2: AudioChannelSet
AudioChannelSet AudioChannelSet::createFront7point1() { return AudioChannelSet ((1u << left) | (1u << right) | (1u << centre) | (1u << subbass) | (1u << surroundLeft) | (1u << surroundRight) | (1u << centreLeft) | (1u << centreRight)); }
开发者ID:GRIS-UdeM,项目名称:Octogris,代码行数:1,代码来源:juce_AudioChannelSet.cpp
示例3: AudioChannelSet
AudioChannelSet AudioChannelSet::disabled() {
return AudioChannelSet();
}
开发者ID:osakared,项目名称:MidiSelect,代码行数:3,代码来源:juce_AudioChannelSet.cpp
示例4: AudioChannelSet
AudioChannelSet AudioChannelSet::pentagonal() { return AudioChannelSet ((1u << left) | (1u << right) | (1u << surroundLeft) | (1u << surroundRight) | (1u << centre)); }
开发者ID:XNerv,项目名称:JUCE,代码行数:1,代码来源:juce_AudioChannelSet.cpp
示例5: AudioChannelSet
//==============================================================================
AudioChannelSet JUCE_CALLTYPE AudioChannelSet::fromWaveChannelMask (int32 dwChannelMask)
{
return AudioChannelSet (static_cast<uint32> ((dwChannelMask & ((1 << 18) - 1)) << 1));
}
开发者ID:Ixox,项目名称:preenfm2Controller,代码行数:5,代码来源:juce_AudioChannelSet.cpp
注:本文中的AudioChannelSet函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论