C# 클래스 javazoom.jl.decoder.Obuffer

Base Class for audio output.
파일 보기 프로젝트 열기: RHY3756547/FreeSO 1 사용 예제들

공개 메소드들

메소드 설명
append ( int channel, short value_Renamed ) : void

Takes a 16 Bit PCM sample.

appendSamples ( int channel, float f ) : void

Accepts 32 new PCM samples.

clear_buffer ( ) : void

Clears all data in the buffer (for seeking).

close ( ) : void
set_stop_flag ( ) : void

Notify the buffer that the user has stopped the stream.

write_buffer ( int val ) : void

Write the samples to the file or directly to the audio hardware.

비공개 메소드들

메소드 설명
clip ( float sample ) : short

Clip Sample to 16 Bits

메소드 상세

append() 공개 추상적인 메소드

Takes a 16 Bit PCM sample.
public abstract append ( int channel, short value_Renamed ) : void
channel int
value_Renamed short
리턴 void

appendSamples() 공개 메소드

Accepts 32 new PCM samples.
public appendSamples ( int channel, float f ) : void
channel int
f float
리턴 void

clear_buffer() 공개 추상적인 메소드

Clears all data in the buffer (for seeking).
public abstract clear_buffer ( ) : void
리턴 void

close() 공개 추상적인 메소드

public abstract close ( ) : void
리턴 void

set_stop_flag() 공개 추상적인 메소드

Notify the buffer that the user has stopped the stream.
public abstract set_stop_flag ( ) : void
리턴 void

write_buffer() 공개 추상적인 메소드

Write the samples to the file or directly to the audio hardware.
public abstract write_buffer ( int val ) : void
val int
리턴 void