mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-19 01:04:20 +00:00
Removed const-ness from some return types to take advantage of future c++0x advantages.
This commit is contained in:
parent
74469aaa83
commit
0853a9b686
154 changed files with 472 additions and 473 deletions
|
|
@ -701,8 +701,8 @@ public:
|
|||
close();
|
||||
}
|
||||
|
||||
const StringArray getOutputChannelNames() { return internal.channelNamesOut; }
|
||||
const StringArray getInputChannelNames() { return internal.channelNamesIn; }
|
||||
StringArray getOutputChannelNames() { return internal.channelNamesOut; }
|
||||
StringArray getInputChannelNames() { return internal.channelNamesIn; }
|
||||
|
||||
int getNumSampleRates() { return internal.sampleRates.size(); }
|
||||
double getSampleRate (int index) { return internal.sampleRates [index]; }
|
||||
|
|
@ -930,7 +930,7 @@ public:
|
|||
outputNames.appendNumbersToDuplicates (false, true);
|
||||
}
|
||||
|
||||
const StringArray getDeviceNames (bool wantInputNames) const
|
||||
StringArray getDeviceNames (bool wantInputNames) const
|
||||
{
|
||||
jassert (hasScanned); // need to call scanForDevices() before doing this
|
||||
|
||||
|
|
@ -1000,7 +1000,7 @@ private:
|
|||
return (isInput || isOutput) && rates.size() > 0;
|
||||
}
|
||||
|
||||
/*static const String getHint (void* hint, const char* type)
|
||||
/*static String getHint (void* hint, const char* type)
|
||||
{
|
||||
char* const n = snd_device_name_get_hint (hint, type);
|
||||
const String s ((const char*) n);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue