| @@ -448,7 +448,7 @@ public: | |||||
| } | } | ||||
| if (! outputDevice->setParameters ((unsigned int) sampleRate, | if (! outputDevice->setParameters ((unsigned int) sampleRate, | ||||
| currentOutputChans.getHighestBit() + 1, | |||||
| jlimit (minChansOut, maxChansOut, currentOutputChans.getHighestBit() + 1), | |||||
| bufferSize)) | bufferSize)) | ||||
| { | { | ||||
| error = outputDevice->error; | error = outputDevice->error; | ||||
| @@ -469,7 +469,7 @@ public: | |||||
| } | } | ||||
| if (! inputDevice->setParameters ((unsigned int) sampleRate, | if (! inputDevice->setParameters ((unsigned int) sampleRate, | ||||
| currentInputChans.getHighestBit() + 1, | |||||
| jlimit (minChansIn, maxChansIn, currentInputChans.getHighestBit() + 1), | |||||
| bufferSize)) | bufferSize)) | ||||
| { | { | ||||
| error = inputDevice->error; | error = inputDevice->error; | ||||
| @@ -61350,7 +61350,7 @@ void LookAndFeel::drawImageButton (Graphics& g, Image* image, | |||||
| int imageX, int imageY, int imageW, int imageH, | int imageX, int imageY, int imageW, int imageH, | ||||
| const Colour& overlayColour, | const Colour& overlayColour, | ||||
| float imageOpacity, | float imageOpacity, | ||||
| ImageButton& button) | |||||
| ImageButton& /*button*/) | |||||
| { | { | ||||
| if (! overlayColour.isOpaque()) | if (! overlayColour.isOpaque()) | ||||
| { | { | ||||
| @@ -257180,7 +257180,7 @@ public: | |||||
| } | } | ||||
| if (! outputDevice->setParameters ((unsigned int) sampleRate, | if (! outputDevice->setParameters ((unsigned int) sampleRate, | ||||
| currentOutputChans.getHighestBit() + 1, | |||||
| jmax (minChansOut, currentOutputChans.getHighestBit() + 1), | |||||
| bufferSize)) | bufferSize)) | ||||
| { | { | ||||
| error = outputDevice->error; | error = outputDevice->error; | ||||
| @@ -257201,7 +257201,7 @@ public: | |||||
| } | } | ||||
| if (! inputDevice->setParameters ((unsigned int) sampleRate, | if (! inputDevice->setParameters ((unsigned int) sampleRate, | ||||
| currentInputChans.getHighestBit() + 1, | |||||
| jmax (minChansIn, currentInputChans.getHighestBit() + 1), | |||||
| bufferSize)) | bufferSize)) | ||||
| { | { | ||||
| error = inputDevice->error; | error = inputDevice->error; | ||||
| @@ -265545,7 +265545,10 @@ bool juce_launchFile (const String& fileName, | |||||
| const ScopedAutoReleasePool pool; | const ScopedAutoReleasePool pool; | ||||
| if (parameters.isEmpty()) | if (parameters.isEmpty()) | ||||
| return [[NSWorkspace sharedWorkspace] openFile: juceStringToNS (fileName)]; | |||||
| { | |||||
| return [[NSWorkspace sharedWorkspace] openFile: juceStringToNS (fileName)] | |||||
| || [[NSWorkspace sharedWorkspace] openURL: [NSURL URLWithString: juceStringToNS (fileName)]]; | |||||
| } | |||||
| bool ok = false; | bool ok = false; | ||||
| @@ -34011,7 +34011,7 @@ public: | |||||
| @see AudioDeviceManager::setAudioDeviceSetup() | @see AudioDeviceManager::setAudioDeviceSetup() | ||||
| */ | */ | ||||
| struct AudioDeviceSetup | |||||
| struct JUCE_API AudioDeviceSetup | |||||
| { | { | ||||
| AudioDeviceSetup(); | AudioDeviceSetup(); | ||||
| bool operator== (const AudioDeviceSetup& other) const; | bool operator== (const AudioDeviceSetup& other) const; | ||||
| @@ -99,7 +99,7 @@ public: | |||||
| @see AudioDeviceManager::setAudioDeviceSetup() | @see AudioDeviceManager::setAudioDeviceSetup() | ||||
| */ | */ | ||||
| struct AudioDeviceSetup | |||||
| struct JUCE_API AudioDeviceSetup | |||||
| { | { | ||||
| AudioDeviceSetup(); | AudioDeviceSetup(); | ||||
| bool operator== (const AudioDeviceSetup& other) const; | bool operator== (const AudioDeviceSetup& other) const; | ||||
| @@ -1626,7 +1626,7 @@ void LookAndFeel::drawImageButton (Graphics& g, Image* image, | |||||
| int imageX, int imageY, int imageW, int imageH, | int imageX, int imageY, int imageW, int imageH, | ||||
| const Colour& overlayColour, | const Colour& overlayColour, | ||||
| float imageOpacity, | float imageOpacity, | ||||
| ImageButton& button) | |||||
| ImageButton& /*button*/) | |||||
| { | { | ||||
| if (! overlayColour.isOpaque()) | if (! overlayColour.isOpaque()) | ||||
| { | { | ||||