OpenShot Library | libopenshot
0.4.0
|
Singleton wrapper for AudioDeviceManager (to prevent multiple instances). More...
#include <Qt/AudioPlaybackThread.h>
Public Member Functions | |
void | CloseAudioDevice () |
Close audio device. More... | |
Static Public Member Functions | |
static AudioDeviceManagerSingleton * | Instance () |
Override with default sample rate & channels (44100, 2) and no preferred audio device. More... | |
static AudioDeviceManagerSingleton * | Instance (int rate, int channels) |
Public Attributes | |
juce::AudioDeviceManager | audioDeviceManager |
Public device manager property. More... | |
AudioDeviceInfo | currentAudioDevice |
Current open audio device (or last attempted device - if none were successful) More... | |
double | defaultSampleRate |
Default sample rate (as detected) More... | |
std::string | initialise_error |
Error found during JUCE initialise method. More... | |
Singleton wrapper for AudioDeviceManager (to prevent multiple instances).
Definition at line 42 of file AudioPlaybackThread.h.
void openshot::AudioDeviceManagerSingleton::CloseAudioDevice | ( | ) |
Close audio device.
Definition at line 178 of file AudioPlaybackThread.cpp.
Referenced by openshot::QtPlayer::CloseAudioDevice().
|
static |
Override with default sample rate & channels (44100, 2) and no preferred audio device.
Definition at line 39 of file AudioPlaybackThread.cpp.
Referenced by openshot::QtPlayer::CloseAudioDevice().
|
static |
Override with custom sample rate & channels and no preferred audio device sample rate and channels are only set on 1st call (when singleton is created)
Definition at line 45 of file AudioPlaybackThread.cpp.
juce::AudioDeviceManager openshot::AudioDeviceManagerSingleton::audioDeviceManager |
Public device manager property.
Definition at line 68 of file AudioPlaybackThread.h.
Referenced by Instance().
AudioDeviceInfo openshot::AudioDeviceManagerSingleton::currentAudioDevice |
Current open audio device (or last attempted device - if none were successful)
Definition at line 58 of file AudioPlaybackThread.h.
double openshot::AudioDeviceManagerSingleton::defaultSampleRate |
Default sample rate (as detected)
Definition at line 55 of file AudioPlaybackThread.h.
std::string openshot::AudioDeviceManagerSingleton::initialise_error |
Error found during JUCE initialise method.
Definition at line 52 of file AudioPlaybackThread.h.