Async::AudioSelector Class Reference
This class is used to select one of many audio streams.
More...
#include <AsyncAudioSelector.h>
List of all members.
Public Member Functions
Friends
Detailed Description
This class is used to select one of many audio streams.
- Author:
- Tobias Blomberg / SM0SVX
- Date:
- 2006-08-01
This class is used to select one of many incoming audio streams. Incoming samples on non-selected branches will be thrown away.
Definition at line 114 of file AsyncAudioSelector.h.
Constructor & Destructor Documentation
Async::AudioSelector::AudioSelector |
( |
void |
|
) |
|
Async::AudioSelector::~AudioSelector |
( |
void |
|
) |
|
Member Function Documentation
void Async::AudioSelector::addSource |
( |
AudioSource * |
source |
) |
|
Add an audio source to the selector.
- Parameters:
-
| source | The audio source to add |
bool Async::AudioSelector::autoSelectEnabled |
( |
AudioSource * |
source |
) |
|
Find out if auto select is enabled or not for the given source.
- Parameters:
-
- Returns:
- Returns true if auto select is enabled for the given source or else false is returned
void Async::AudioSelector::disableAutoSelect |
( |
AudioSource * |
source |
) |
|
Disable autoselection on the given source.
- Parameters:
-
void Async::AudioSelector::enableAutoSelect |
( |
AudioSource * |
source, |
|
|
int |
prio | |
|
) |
| | |
Enable autoselection on the given source.
- Parameters:
-
| source | The audio source |
| prio | The priority to set. Higher numbers give higher priority. |
void Async::AudioSelector::removeSource |
( |
AudioSource * |
source |
) |
|
Remove a previously added audio source from the selector.
- Parameters:
-
| source | The audio source to remove |
void Async::AudioSelector::selectSource |
( |
AudioSource * |
source |
) |
|
Select one of the previously added audio sources.
- Parameters:
-
| source | The audio source to select. 0 = none selected. |
void Async::AudioSelector::setSelectionPrio |
( |
AudioSource * |
source, |
|
|
int |
prio | |
|
) |
| | |
Set the prio to be used for selection.
- Parameters:
-
| source | The audio source |
| prio | The priority to set. Higher numbers give higher priority. |
Friends And Related Function Documentation
friend class Branch [friend] |
The documentation for this class was generated from the following file: