C# Class ManagedBass.Record

Capture audio from Microphone.
Inheritance: IAudioRecorder
Datei anzeigen Open project: ManagedBass/ManagedBass

Public Methods

Method Description
Dispose ( ) : void

Frees all resources used by this instance.

Record ( ) : System

Creates a new instance of Record with the Default Format and Device.

Record ( RecordDevice Device ) : System

Creates a new instance of Record with the Default Format.

Record ( RecordDevice Device, int Frequency, int Channels, Resolution Resolution = Resolution.Short ) : System

Creates a new instance of Record.

Start ( ) : bool

Start Audio Capture.

Stop ( ) : bool

Stop Audio Capture.

Private Methods

Method Description
Processing ( int HRecord, IntPtr Buffer, int Length, IntPtr User ) : bool

Method Details

Dispose() public method

Frees all resources used by this instance.
public Dispose ( ) : void
return void

Record() public method

Creates a new instance of Record with the Default Format and Device.
public Record ( ) : System
return System

Record() public method

Creates a new instance of Record with the Default Format.
public Record ( RecordDevice Device ) : System
Device RecordDevice The to use.
return System

Record() public method

Creates a new instance of Record.
public Record ( RecordDevice Device, int Frequency, int Channels, Resolution Resolution = Resolution.Short ) : System
Device RecordDevice
Frequency int
Channels int
Resolution Resolution
return System

Start() public method

Start Audio Capture.
public Start ( ) : bool
return bool

Stop() public method

Stop Audio Capture.
public Stop ( ) : bool
return bool