C# 클래스 ManagedBass.WaveFormat

Represents a Wave file format.
파일 보기 프로젝트 열기: ManagedBass/ManagedBass 1 사용 예제들

공개 메소드들

메소드 설명
CreateIeeeFloat ( int SampleRate, int Channels ) : WaveFormat

Creates a new 32 bit IEEE floating point wave format

FromChannel ( int Channel ) : WaveFormat

Creates a new instance of WaveFormat from a Channel.

Serialize ( BinaryWriter Writer ) : void

Writes this WaveFormat object to a stream

WaveFormat ( ) : System

Creates a new PCM 44.1Khz stereo 16 bit format

WaveFormat ( int SampleRate, int Channels ) : System

Creates a new 16 bit wave format with the specified sample rate and channel count

WaveFormat ( int SampleRate, int BitsPerSample, int Channels ) : System

Creates a new PCM format with the specified sample rate, bit depth and channels

비공개 메소드들

메소드 설명
FromParams ( int Frequency, int Channels, Resolution Resolution ) : WaveFormat

메소드 상세

CreateIeeeFloat() 공개 정적인 메소드

Creates a new 32 bit IEEE floating point wave format
public static CreateIeeeFloat ( int SampleRate, int Channels ) : WaveFormat
SampleRate int sample rate
Channels int number of channels
리턴 WaveFormat

FromChannel() 공개 정적인 메소드

Creates a new instance of WaveFormat from a Channel.
public static FromChannel ( int Channel ) : WaveFormat
Channel int
리턴 WaveFormat

Serialize() 공개 메소드

Writes this WaveFormat object to a stream
public Serialize ( BinaryWriter Writer ) : void
Writer System.IO.BinaryWriter the output stream
리턴 void

WaveFormat() 공개 메소드

Creates a new PCM 44.1Khz stereo 16 bit format
public WaveFormat ( ) : System
리턴 System

WaveFormat() 공개 메소드

Creates a new 16 bit wave format with the specified sample rate and channel count
public WaveFormat ( int SampleRate, int Channels ) : System
SampleRate int Sample Rate
Channels int Number of channels
리턴 System

WaveFormat() 공개 메소드

Creates a new PCM format with the specified sample rate, bit depth and channels
public WaveFormat ( int SampleRate, int BitsPerSample, int Channels ) : System
SampleRate int
BitsPerSample int
Channels int
리턴 System