We are involved in Developing Audio Conferencing system using Java.
Audio capture is achived using WINAPI calls (Java Native Methods) with
wave recording format as :
waveformattag == WAVE_FORMAT_PCM
number of channels == 1
Bitspersample == 8
no. of samples per second = 8000
This audio sample is converted into .au format by adding header
int magic = 0x2E736E64;
int dataLocation =24;
int dataSize = filesize ;
int dataFormat =2;
int samplingRate =8000;
int channelCount = 1;
Playing audio is achived using audio.play method in JDK1.1.3 (& Sun
The problem is, the audio quality is diminished while playing using the
above mentioned method.
While it is good when done with Mutimedia Media Player(available with
Kindly let us know what is the underlined problem. Awaiting your reply.
ECS Development Team
DSQ s/w Ltd, Madras, India.