C# Class javazoom.jl.converter.WaveFileObuffer

Implements an Obuffer by writing the data to a file in RIFF WAVE format. @since 0.0
Inheritance: javazoom.jl.decoder.Obuffer
显示文件 Open project: RHY3756547/FreeSO Class Usage Examples

Public Methods

Method Description
WaveFileObuffer ( int number_of_channels, int freq, System FileName ) : System

Creates a new WareFileObuffer instance.

append ( int channel, short value_Renamed ) : void

Takes a 16 Bit PCM sample.

clear_buffer ( ) : void

*

close ( ) : void
close ( bool justWriteLengthBytes ) : void
set_stop_flag ( ) : void

*

write_buffer ( int val ) : void

Private Methods

Method Description
InitBlock ( ) : void

Method Details

WaveFileObuffer() public method

Creates a new WareFileObuffer instance.
public WaveFileObuffer ( int number_of_channels, int freq, System FileName ) : System
number_of_channels int
freq int
FileName System
return System

append() public method

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

clear_buffer() public method

*
public clear_buffer ( ) : void
return void

close() public method

public close ( ) : void
return void

close() public method

public close ( bool justWriteLengthBytes ) : void
justWriteLengthBytes bool
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