Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The QAudioStateManager class manages QAudioStatePlugin objects. More...
#include <QAudioStateManager>
Inherits QObject.
The QAudioStateManager class manages QAudioStatePlugin objects.
This class performs basic management of the audio device and various audio states. It is responsible for loading all QAudioStatePlugin objects and obtaining all available audio states described by the QAudioState object(s).
You generally do not need to use this class unless you are writing your own media server responsible for managing the audio device.
See also QAudioState and QAudioStatePlugin.
Construct a new QAudioStateManager object with parent
Destroys a QAudioStateManager object.
Ask the manager to enter into a particular domain. The audio state with the highest priority (lowest number) for this domain will be used. The audio state will be set with the capability.
Returns true if the domain could be entered and false otherwise.
See also setProfile() and setState().
Ask the manager to set a particular profile. The profile is given by profile. It is an error to call this function if no domain is currently active. Effectively this sets the audio state with the same domain and capabilities but different inputs/outputs.
Returns true if the profile could be set and false otherwise.
See also setDomain() and setState().
Ask the manager to set a particular state. The state to set is given by state. The capability to set is given by capability.
Returns true if the state could be set and false otherwise.
See also setProfile() and setDomain().
Copyright © 2009 Trolltech | Trademarks | Qt Extended 4.4.3 |