C# Class 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.
Inheritance: javazoom.jl.decoder.Obuffer
Afficher le fichier Open project: RHY3756547/FreeSO Class Usage Examples

Méthodes publiques

Méthode Description
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

Method Details

OBuffer16BitStereo() public méthode

public OBuffer16BitStereo ( ) : System
Résultat System

Read() public méthode

public Read ( byte buffer_out, int offset, int count ) : int
buffer_out byte
offset int
count int
Résultat int

append() public méthode

public append ( int channel, short value ) : void
channel int
value short
Résultat void

appendSamples() public méthode

public appendSamples ( int channel, float f ) : void
channel int
f float
Résultat void

clear_buffer() public méthode

This implementation does not clear the buffer.
public clear_buffer ( ) : void
Résultat void

close() public méthode

public close ( ) : void
Résultat void

set_stop_flag() public méthode

public set_stop_flag ( ) : void
Résultat void

write_buffer() public méthode

public write_buffer ( int val ) : void
val int
Résultat void