A class that represents a arbitrary group of sound device channels that are multiplexed into a sound stream.
More...
#include <omEngineSoundDeviceBus.h>
|
enum | Type { INPUT = 1,
OUTPUT = 2
} |
| An enum type which represents the different types of sound device bus. More...
|
|
A class that represents a arbitrary group of sound device channels that are multiplexed into a sound stream.
An enum type which represents the different types of sound device bus.
Enumerator |
---|
INPUT |
A sound device bus type that represents a group of input device channels.
|
OUTPUT |
A sound device bus type that represents a group of output device channels.
|
om::engine::sound::SoundDeviceBus::SoundDeviceBus |
( |
| ) |
|
Create a sound device bus that an undefined channel layout and no device assigned.
om::engine::sound::SoundDeviceBus::~SoundDeviceBus |
( |
| ) |
|
Destroy this sound device bus and its internal data.
const UTF8String& om::engine::sound::SoundDeviceBus::getDeviceName |
( |
| ) |
const |
|
inline |
Return the name of the device associated with this device bus.
void om::engine::sound::SoundDeviceBus::setDeviceName |
( |
const UTF8String & |
newDeviceName | ) |
|
|
inline |
Set the name of the device associated with this device bus.
Type om::engine::sound::SoundDeviceBus::getType |
( |
| ) |
const |
|
inline |
Return the type of this sound device bus.
void om::engine::sound::SoundDeviceBus::setType |
( |
Type |
newType | ) |
|
|
inline |
Set the type of this sound device bus.
Size om::engine::sound::SoundDeviceBus::getChannelCount |
( |
| ) |
const |
|
inline |
Return the number of channels there are in this device bus.
Index om::engine::sound::SoundDeviceBus::getChannelIndex |
( |
Index |
layoutIndex | ) |
const |
|
inline |
Return the device channel index that is assigned to the specified channel index in the channel layout.
void om::engine::sound::SoundDeviceBus::setChannelIndex |
( |
Index |
layoutIndex, |
|
|
Index |
deviceIndex |
|
) |
| |
|
inline |
Set the device channel index that is assigned to the specified channel index in the channel layout.
const ChannelLayout& om::engine::sound::SoundDeviceBus::getLayout |
( |
| ) |
const |
|
inline |
Return a reference to the channel layout for this device bus.
void om::engine::sound::SoundDeviceBus::setLayout |
( |
const ChannelLayout & |
newLayout | ) |
|
Set the channel layout that this device bus should use.
If the new layout has more channels than the previous layout, the new channels are populated with increasing device channel indices.
void om::engine::sound::SoundDeviceBus::setChannelCount |
( |
Size |
newNumChannels | ) |
|
Set the number of channels that this device bus should use.
A custom channel layout with the specified number of channels is used. If the new layout has more channels than the previous layout, the new channels are populated with increasing device channel indices.
The resource type for a sound device bus.
The documentation for this class was generated from the following file: