Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Tabs? Where?

  • Loading branch information...
commit d2bad714651008de9aebefc6538b4fd8a8cf5557 1 parent 0ed12fe
@bavarious bavarious authored
Showing with 9 additions and 9 deletions.
  1. +9 −9 OpenEmu/OEAudioDeviceManager.m
View
18 OpenEmu/OEAudioDeviceManager.m
@@ -136,10 +136,10 @@ - (void)OE_updateDeviceList
if (err != noErr)
return;
- numberOfDevices = dataSize / (UInt32)sizeof(AudioDeviceID);
+ numberOfDevices = dataSize / (UInt32)sizeof(AudioDeviceID);
if(numberOfDevices == 0)
{
- DLog(@"No audio devices were found");
+ DLog(@"No audio devices were found");
NSUInteger previousNumberOfDevices;
@synchronized(_devices)
@@ -252,7 +252,7 @@ OSStatus _OEAOPropertyListenerProc(AudioObjectID inObjectID, UInt32 inNumberAddr
[nc postNotificationName:notificationName object:mgr];
}
- return noErr;
+ return noErr;
}
@end
@@ -284,8 +284,8 @@ - (instancetype)initWithID:(NSUInteger)deviceID
- (void)OE_retrieveDeviceName
{
CFStringRef tempString = NULL;
- OSStatus err = noErr;
- UInt32 ioSize = 0;
+ OSStatus err = noErr;
+ UInt32 ioSize = 0;
AudioObjectPropertyAddress propAddr =
{
kAudioObjectPropertyName,
@@ -304,10 +304,10 @@ - (void)OE_retrieveDeviceName
- (NSUInteger)OE_numberOfChannelsInScope:(AudioObjectPropertyScope)propScope
{
- OSStatus err = noErr;
- UInt32 ioSize = 0;
- UInt32 number = 0;
- AudioBufferList *bufferList = NULL;
+ OSStatus err = noErr;
+ UInt32 ioSize = 0;
+ UInt32 number = 0;
+ AudioBufferList *bufferList = NULL;
AudioObjectPropertyAddress propAddr = {kAudioDevicePropertyStreamConfiguration, propScope, 0};
err = AudioObjectGetPropertyDataSize(_deviceID, &propAddr, 0, NULL, &ioSize);
Please sign in to comment.
Something went wrong with that request. Please try again.