C# Class Mp3Sharp.QueueOBuffer

Internal class used to queue samples that are being obtained from an Mp3 stream.
Inheritance: javazoom.jl.decoder.Obuffer
Afficher le fichier Open project: RHY3756547/FreeSO Class Usage Examples

Méthodes publiques

Méthode Description
DequeueAs16BitPcmMono ( byte buffer, int offset, int count ) : int

Dequeues bytes out of the buffer in PCM format (16-bit values with alternating channels)

DequeueAs16BitPcmStereo ( byte buffer, int offset, int count ) : int

Dequeues bytes out of the buffer in 16-it stereo PCM format (16-bit values with alternating channels)

GetChannelQueue ( int channelNumber ) : Queue
QueueOBuffer ( ) : System
append ( int channel, short value ) : void
clear_buffer ( ) : void

This implementation does not clear the buffer.

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

Method Details

DequeueAs16BitPcmMono() public méthode

Dequeues bytes out of the buffer in PCM format (16-bit values with alternating channels)
public DequeueAs16BitPcmMono ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
Résultat int

DequeueAs16BitPcmStereo() public méthode

Dequeues bytes out of the buffer in 16-it stereo PCM format (16-bit values with alternating channels)
public DequeueAs16BitPcmStereo ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
Résultat int

GetChannelQueue() public méthode

public GetChannelQueue ( int channelNumber ) : Queue
channelNumber int
Résultat System.Collections.Queue

QueueOBuffer() public méthode

public QueueOBuffer ( ) : System
Résultat System

append() public méthode

public append ( int channel, short value ) : void
channel int
value short
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