1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-29 02:40:05 +00:00

Small fix for demo plugin code. Minor code clean-ups.

This commit is contained in:
Julian Storer 2010-03-25 14:21:34 +00:00
parent e7326dbbaf
commit a728139698
60 changed files with 836 additions and 1029 deletions

View file

@ -1030,7 +1030,7 @@ public:
outputDeviceNames.appendNumbersToDuplicates (false, false);
}
const StringArray getDeviceNames (const bool wantInputNames) const
const StringArray getDeviceNames (bool wantInputNames) const
{
jassert (hasScanned); // need to call scanForDevices() before doing this
@ -1038,13 +1038,13 @@ public:
: outputDeviceNames;
}
int getDefaultDeviceIndex (const bool /*forInput*/) const
int getDefaultDeviceIndex (bool /*forInput*/) const
{
jassert (hasScanned); // need to call scanForDevices() before doing this
return 0;
}
int getIndexOfDevice (AudioIODevice* device, const bool asInput) const
int getIndexOfDevice (AudioIODevice* device, bool asInput) const
{
jassert (hasScanned); // need to call scanForDevices() before doing this
WASAPIAudioIODevice* const d = dynamic_cast <WASAPIAudioIODevice*> (device);