C# Class MonoMac.AudioToolbox.AudioUnitUtils

Show file Open project: kangaroo/maccore

Public Methods

Method Description
AUCanonicalASBD ( double sampleRate, int channel ) : AudioStreamBasicDescription
SetOverrideCategoryDefaultToSpeaker ( bool isSpeaker ) : void

Private Methods

Method Description
AudioSessionSetProperty ( AudioSessionProperty inID, UInt32 inDataSize, OverrideAudioRouteType &inData ) : int
AudioSessionSetProperty ( UInt32 inID, UInt32 inDataSize, int &inData ) : int

Method Details

AUCanonicalASBD() public static method

public static AUCanonicalASBD ( double sampleRate, int channel ) : AudioStreamBasicDescription
sampleRate double
channel int
return AudioStreamBasicDescription

SetOverrideCategoryDefaultToSpeaker() public static method

public static SetOverrideCategoryDefaultToSpeaker ( bool isSpeaker ) : void
isSpeaker bool
return void