28 #ifndef ASYNC_AUDIO_SELECTOR_INCLUDED
29 #define ASYNC_AUDIO_SELECTOR_INCLUDED
178 typedef std::map<Async::AudioSource *, Branch *> BranchMap;
181 BranchMap branch_map;
182 NullBranch *null_branch;
186 void selectBranch(
Branch *branch);
void addSource(AudioSource *source)
Add an audio source to the selector.
AudioSelector(void)
Default constuctor.
void removeSource(AudioSource *source)
Remove a previously added audio source from the selector.
bool autoSelectEnabled(AudioSource *source)
Find out if auto select is enabled or not for the given source.
This file contains the base class for an audio source.
~AudioSelector(void)
Destructor.
void disableAutoSelect(AudioSource *source)
Disable autoselection on the given source.
void selectSource(AudioSource *source)
Select one of the previously added audio sources.
void setSelectionPrio(AudioSource *source, int prio)
Set the prio to be used for selection.
Namespace for the asynchronous programming classes.
The base class for an audio source.
This class is used to select one of many audio streams.
void enableAutoSelect(AudioSource *source, int prio)
Enable autoselection on the given source.