1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-06 04:00:08 +00:00

Browser plugin fixes for a string-passing bug in NPAPI and problems with older versions of Firefox; more robust message flushing on shutdown on the mac.

This commit is contained in:
jules 2009-07-19 11:16:43 +00:00
parent 2615809676
commit ebcde1e678
6 changed files with 70 additions and 77 deletions

View file

@ -225,7 +225,18 @@ public:
/** Returns the currently-active audio device. */
AudioIODevice* getCurrentAudioDevice() const throw() { return currentAudioDevice; }
/** Returns the type of audio device currently in use.
@see setCurrentAudioDeviceType
*/
const String getCurrentAudioDeviceType() const throw() { return currentDeviceType; }
/** Changes the class of audio device being used.
This switches between, e.g. ASIO and DirectSound. On the Mac you probably won't ever call
this because there's only one type: CoreAudio.
For a list of types, see getAvailableDeviceTypes().
*/
void setCurrentAudioDeviceType (const String& type,
const bool treatAsChosenDevice);
@ -353,7 +364,7 @@ public:
*/
MidiOutput* getDefaultMidiOutput() const throw() { return defaultMidiOutput; }
/**
/** Returns a list of the types of device supported.
*/
const OwnedArray <AudioIODeviceType>& getAvailableDeviceTypes();