C# 클래스 Mp3Sharp.OBuffer16BitStereo

Internal class used to queue samples that are being obtained from an Mp3 stream. This merges the old mp3stream OBuffer with the javazoom SampleBuffer code for the highest efficiency... well, not the highest possible. The highest I'm willing to sweat over. --trs This class handles stereo 16-bit data! Switch it out if you want mono or something.
상속: javazoom.jl.decoder.Obuffer
파일 보기 프로젝트 열기: RHY3756547/FreeSO 1 사용 예제들

공개 메소드들

메소드 설명
OBuffer16BitStereo ( ) : System
Read ( byte buffer_out, int offset, int count ) : int
append ( int channel, short value ) : void
appendSamples ( int channel, float f ) : void
clear_buffer ( ) : void

This implementation does not clear the buffer.

close ( ) : void
set_stop_flag ( ) : void
write_buffer ( int val ) : void

메소드 상세

OBuffer16BitStereo() 공개 메소드

public OBuffer16BitStereo ( ) : System
리턴 System

Read() 공개 메소드

public Read ( byte buffer_out, int offset, int count ) : int
buffer_out byte
offset int
count int
리턴 int

append() 공개 메소드

public append ( int channel, short value ) : void
channel int
value short
리턴 void

appendSamples() 공개 메소드

public appendSamples ( int channel, float f ) : void
channel int
f float
리턴 void

clear_buffer() 공개 메소드

This implementation does not clear the buffer.
public clear_buffer ( ) : void
리턴 void

close() 공개 메소드

public close ( ) : void
리턴 void

set_stop_flag() 공개 메소드

public set_stop_flag ( ) : void
리턴 void

write_buffer() 공개 메소드

public write_buffer ( int val ) : void
val int
리턴 void