C# 클래스 CSPspEmu.Core.Audio.PspAudioChannel

파일 보기 프로젝트 열기: soywiz/cspspemu 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Available bool
Format PspAudio.FormatEnum
Frequency int
Index int
VolumeLeft int
VolumeRight int

보호된 프로퍼티들

프로퍼티 타입 설명
PspAudio PspAudio

공개 메소드들

메소드 설명
PspAudioChannel ( PspAudio PspAudio ) : System

Constructor

Read ( int Count ) : short[]

Read 'Count' number of samples

Release ( ) : void
ToString ( ) : string
Updated ( ) : void
Write ( short Samples, System.Action ActionCallbackOnReaded ) : void

Write ( short SamplePointer, int VolumeLeft, int VolumeRight, System.Action ActionCallbackOnReaded ) : void

비공개 메소드들

메소드 설명
MonoToStereo ( short MonoSamples ) : short[]

Converts a buffer containing mono samples into a buffer containing of stereo samples

메소드 상세

PspAudioChannel() 공개 메소드

Constructor
public PspAudioChannel ( PspAudio PspAudio ) : System
PspAudio PspAudio
리턴 System

Read() 공개 메소드

Read 'Count' number of samples
public Read ( int Count ) : short[]
Count int Number of samples to read
리턴 short[]

Release() 공개 메소드

public Release ( ) : void
리턴 void

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

Updated() 공개 메소드

public Updated ( ) : void
리턴 void

Write() 공개 메소드

public Write ( short Samples, System.Action ActionCallbackOnReaded ) : void
Samples short
ActionCallbackOnReaded System.Action
리턴 void

Write() 공개 메소드

public Write ( short SamplePointer, int VolumeLeft, int VolumeRight, System.Action ActionCallbackOnReaded ) : void
SamplePointer short
VolumeLeft int
VolumeRight int
ActionCallbackOnReaded System.Action
리턴 void

프로퍼티 상세

Available 공개적으로 프로퍼티

public bool Available
리턴 bool

Format 공개적으로 프로퍼티

Format of the audio in the channel. Can be mono or stereo.
public PspAudio.FormatEnum Format
리턴 PspAudio.FormatEnum

Frequency 공개적으로 프로퍼티

Channel's frequency. One of 48000, 44100, 32000, 24000, 22050, 16000, 12000, 11050, 8000.
public int Frequency
리턴 int

Index 공개적으로 프로퍼티

public int Index
리턴 int

PspAudio 보호되어 있는 프로퍼티

protected PspAudio,CSPspEmu.Core.Audio PspAudio
리턴 PspAudio

VolumeLeft 공개적으로 프로퍼티

public int VolumeLeft
리턴 int

VolumeRight 공개적으로 프로퍼티

public int VolumeRight
리턴 int