C# Class Mp3Sharp.QueueOBuffer

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

Public Methods

Method 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 method

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
return int

DequeueAs16BitPcmStereo() public method

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
return int

GetChannelQueue() public method

public GetChannelQueue ( int channelNumber ) : Queue
channelNumber int
return System.Collections.Queue

QueueOBuffer() public method

public QueueOBuffer ( ) : System
return System

append() public method

public append ( int channel, short value ) : void
channel int
value short
return void

clear_buffer() public method

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

close() public method

public close ( ) : void
return void

set_stop_flag() public method

public set_stop_flag ( ) : void
return void

write_buffer() public method

public write_buffer ( int val ) : void
val int
return void