C# Class MicDemoApp.MicStreamSelector

Datei anzeigen Open project: Microsoft/HoloToolkit Class Usage Examples

Public Properties

Property Type Description
micSignal LiveMicCallback
streamType StreamCategory

Public Methods

Method Description
StartRecording ( string fileNameWithExtension ) : void
StartStream ( ) : void
StopMicDevice ( ) : void
StopRecording ( ) : void
StopStream ( ) : void

Private Methods

Method Description
CheckForErrorOnCall ( int returnCode ) : void
CreateAudioGraph ( ) : System.Threading.Tasks.Task
MicDestroy ( ) : int
MicGetDefaultBufferSize ( ) : int
MicGetDefaultNumChannels ( ) : int
MicGetFrame ( float buffer, int length, int numchannels ) : int
MicInitializeCustomRateWithGraph ( int category, int samplerate, AudioGraph appGraph ) : int
MicInitializeDefaultWithGraph ( int category, AudioGraph appGraph ) : int
MicPause ( ) : int
MicResume ( ) : int
MicSetGain ( float g ) : int
MicStartRecording ( string filename, bool previewOnDevice ) : int
MicStartStream ( bool keepData, bool previewOnDevice, LiveMicCallback micsignal ) : int
MicStopRecording ( StringBuilder sb ) : void
MicStopStream ( ) : int

Method Details

StartRecording() public static method

public static StartRecording ( string fileNameWithExtension ) : void
fileNameWithExtension string
return void

StartStream() public static method

public static StartStream ( ) : void
return void

StopMicDevice() public static method

public static StopMicDevice ( ) : void
return void

StopRecording() public static method

public static StopRecording ( ) : void
return void

StopStream() public static method

public static StopStream ( ) : void
return void

Property Details

micSignal public_oe static_oe property

public static LiveMicCallback micSignal
return LiveMicCallback

streamType public_oe static_oe property

public static StreamCategory streamType
return StreamCategory