mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-05 03:50:07 +00:00
This commit is contained in:
parent
6c526a1b3d
commit
847a4d84b7
1 changed files with 5 additions and 5 deletions
|
|
@ -115,13 +115,13 @@ END_JUCE_NAMESPACE
|
|||
|
||||
- (bool) isDiskPresent
|
||||
{
|
||||
NSLog ([[device status] description]);
|
||||
return [device isValid];
|
||||
return [device isValid]
|
||||
&& [[[device status] objectForKey: DRDeviceMediaStateKey]
|
||||
isEqualTo: DRDeviceMediaStateMediaPresent];
|
||||
}
|
||||
|
||||
- (int) getNumAvailableAudioBlocks
|
||||
{
|
||||
NSLog ([[device status] description]);
|
||||
return [[[[device status] objectForKey: DRDeviceMediaInfoKey]
|
||||
objectForKey: DRDeviceMediaBlocksFreeKey] intValue];
|
||||
}
|
||||
|
|
@ -427,8 +427,8 @@ bool AudioCDBurner::addAudioTrack (AudioSource* source, int numSamps)
|
|||
}
|
||||
|
||||
const String AudioCDBurner::burn (juce::AudioCDBurner::BurnProgressListener* listener,
|
||||
const bool peformFakeBurnForTesting,
|
||||
const bool ejectDiscAfterwards)
|
||||
const bool ejectDiscAfterwards,
|
||||
const bool peformFakeBurnForTesting)
|
||||
{
|
||||
NSAutoreleasePool* pool = [[NSAutoreleasePool alloc] init];
|
||||
juce::String error ("Couldn't open or write to the CD device");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue