C# 클래스 xZune.Bass.RecordManager

Manage record channels.
파일 보기 프로젝트 열기: higankanshi/xZune.Bass

공개 메소드들

메소드 설명
Free ( ) : void

Frees all resources used by the recording device.

GetDeviceInfomation ( int device ) : DeviceInfo

Get information on a recording device.

GetInfomation ( ) : RecordInfo

Get information on the recording device being used.

GetInput ( int input, float &volume ) : RecordInputType

Get the current settings of a recording input source.

GetInputName ( int input ) : String

Get the text description of a recording input source.

Initialize ( int device ) : void

Initializes a recording device.

SetInput ( int input, float volume, RecordInputStatus staus ) : void

Adjusts the settings of a recording input source.

Start ( uint freq, uint channels, RecordInitializationConfig configs, ushort period ) : Record

Starts recording.

메소드 상세

Free() 공개 정적인 메소드

Frees all resources used by the recording device.
public static Free ( ) : void
리턴 void

GetDeviceInfomation() 공개 정적인 메소드

Get information on a recording device.
public static GetDeviceInfomation ( int device ) : DeviceInfo
device int The device to get the information of... 0 = first.
리턴 xZune.Bass.Interop.Core.DeviceInfo

GetInfomation() 공개 정적인 메소드

Get information on the recording device being used.
public static GetInfomation ( ) : RecordInfo
리턴 xZune.Bass.Interop.Core.RecordInfo

GetInput() 공개 정적인 메소드

Get the current settings of a recording input source.
public static GetInput ( int input, float &volume ) : RecordInputType
input int The input to get the settings of... 0 = first, -1 = master.
volume float Get volume, 0 = don't retrieve the volume.
리턴 RecordInputType

GetInputName() 공개 정적인 메소드

Get the text description of a recording input source.
public static GetInputName ( int input ) : String
input int The input to get the description of... 0 = first, -1 = master.
리턴 String

Initialize() 공개 정적인 메소드

Initializes a recording device.
public static Initialize ( int device ) : void
device int /// The device to use... -1 = default device, 0 = first. can be /// used to enumerate the available devices. ///
리턴 void

SetInput() 공개 정적인 메소드

Adjusts the settings of a recording input source.
public static SetInput ( int input, float volume, RecordInputStatus staus ) : void
input int The input to adjust the settings of... 0 = first, -1 = master.
volume float The volume level... 0 (silent) to 1 (max), less than 0 = leave current.
staus RecordInputStatus The new setting.
리턴 void

Start() 공개 정적인 메소드

Starts recording.
public static Start ( uint freq, uint channels, RecordInitializationConfig configs, ushort period ) : Record
freq uint The sample rate to record at.
channels uint The number of channels... 1 = mono, 2 = stereo, etc.
configs RecordInitializationConfig Configures of recording.
period ushort /// The period (in milliseconds) between calls to the callback function. The minimum period is 5ms, /// the maximum is half the BASS_CONFIG_REC_BUFFER setting. If the period specified is outside this range, it is /// automatically capped. The default is 100ms. ///
리턴 Record