Skip to content

Commit

Permalink
alignment fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jmelas committed Dec 29, 2020
1 parent 7286134 commit ad70e68
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/hostapi/coreaudio/pa_mac_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1134,7 +1134,7 @@ static OSStatus SetupDevicePropertyListeners( PaMacCoreStream *stream, AudioDevi
kAudioDevicePropertySafetyOffset, &deviceProperties->safetyOffset )) != noErr ) return osErr;

PaMacCore_AudioDeviceAddPropertyListener( deviceID, 0, isInput, kAudioDevicePropertyActualSampleRate,
AudioDevicePropertyActualSampleRateListenerProc, stream );
AudioDevicePropertyActualSampleRateListenerProc, stream );

PaMacCore_AudioDeviceAddPropertyListener( deviceID, 0, isInput, kAudioStreamPropertyLatency,
AudioDevicePropertyGenericListenerProc, stream );
Expand All @@ -1149,14 +1149,14 @@ static OSStatus SetupDevicePropertyListeners( PaMacCoreStream *stream, AudioDevi
static void CleanupDevicePropertyListeners( PaMacCoreStream *stream, AudioDeviceID deviceID, Boolean isInput )
{
PaMacCore_AudioDeviceRemovePropertyListener( deviceID, 0, isInput, kAudioDevicePropertyActualSampleRate,
AudioDevicePropertyActualSampleRateListenerProc, stream );
AudioDevicePropertyActualSampleRateListenerProc, stream );

PaMacCore_AudioDeviceRemovePropertyListener( deviceID, 0, isInput, kAudioDevicePropertyLatency,
AudioDevicePropertyGenericListenerProc, stream );
AudioDevicePropertyGenericListenerProc, stream );
PaMacCore_AudioDeviceRemovePropertyListener( deviceID, 0, isInput, kAudioDevicePropertyBufferFrameSize,
AudioDevicePropertyGenericListenerProc, stream );
AudioDevicePropertyGenericListenerProc, stream );
PaMacCore_AudioDeviceRemovePropertyListener( deviceID, 0, isInput, kAudioDevicePropertySafetyOffset,
AudioDevicePropertyGenericListenerProc, stream );
AudioDevicePropertyGenericListenerProc, stream );
}

/* ================================================================================= */
Expand Down

0 comments on commit ad70e68

Please sign in to comment.