AudioFormat
Brought to you by:
javazoom
How do I can obtain the target AudioFormat, or the Data
for the AudioFormat, SampleSize, FrameSize, if it is big
endian, if it is signet, etc., from the AudioData given by
the decoded mp3-stream in javazoom?
To obtain the data as float, I wrote an FloatBuffer,
similary to the SampleBuffer, and use setBuffer(...) in
Decoder. So I become the decoded Data. But the
Format as PCM I try to read isn't correct.
Anybody have an implementation of anything similary to
an AudioInputStream, that get decoded data from mp3
whith an read-method, and return the AudioFormat of the
give´n Data?
Thanks vor the attention,
Nicolai