mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-31 03:00:05 +00:00
Fixed a couple of spelling mistakes
This commit is contained in:
parent
d90ca6caf8
commit
aac01b2b4b
3 changed files with 4 additions and 5 deletions
|
|
@ -122,7 +122,7 @@ public:
|
|||
{
|
||||
activeWriter->write (inputChannelData, numSamples);
|
||||
|
||||
// Create an AudioSampleBuffer to wrap our incomming data, note that this does no allocations or copies, it simply references our input data
|
||||
// Create an AudioSampleBuffer to wrap our incoming data, note that this does no allocations or copies, it simply references our input data
|
||||
const AudioSampleBuffer buffer (const_cast<float**> (inputChannelData), thumbnail.getNumChannels(), numSamples);
|
||||
thumbnail.addBlock (nextSampleNum, buffer, 0, numSamples);
|
||||
nextSampleNum += numSamples;
|
||||
|
|
|
|||
|
|
@ -559,13 +559,13 @@ AudioDeviceManager& MainAppWindow::getSharedAudioDeviceManager()
|
|||
if (sharedAudioDeviceManager == nullptr)
|
||||
{
|
||||
sharedAudioDeviceManager = new AudioDeviceManager();
|
||||
RuntimePermissions::request (RuntimePermissions::recordAudio, runtimPermissionsCallback);
|
||||
RuntimePermissions::request (RuntimePermissions::recordAudio, runtimePermissionsCallback);
|
||||
}
|
||||
|
||||
return *sharedAudioDeviceManager;
|
||||
}
|
||||
|
||||
void MainAppWindow::runtimPermissionsCallback (bool wasGranted)
|
||||
void MainAppWindow::runtimePermissionsCallback (bool wasGranted)
|
||||
{
|
||||
int numInputChannels = wasGranted ? 2 : 0;
|
||||
sharedAudioDeviceManager->initialise (numInputChannels, 2, nullptr, true, String(), nullptr);
|
||||
|
|
|
|||
|
|
@ -93,8 +93,7 @@ public:
|
|||
};
|
||||
|
||||
private:
|
||||
|
||||
static void runtimPermissionsCallback (bool wasGranted);
|
||||
static void runtimePermissionsCallback (bool wasGranted);
|
||||
|
||||
ScopedPointer<ContentComponent> contentComponent;
|
||||
ScopedPointer<Component> taskbarIcon;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue