Re: Please send a reply to me....

From: Jan Knutar (jk@fornax.tk)
Date: Tue Mar 25 2003 - 01:50:18 EST


On Tuesday 25 March 2003 06:34, Senthil Kumar wrote:
> i. e. From the mp3 file i extracted the data to be played alone to my
> local buffer leaving the Frame information of 32 bits.
[ ... ]
> Then through ioctl() function i wrote the channel, bitrate and
> Format. Then through write function i wrote the data captured in the
> local buffer to the dsp device /dev/dsp.
[...]
> Is any uncompression should be done for data and written.
> Is so how the uncompression should be done..

The kernel doesn't do mp3 decoding, and yes, you have to decode mp3
first into PCM. Take a look at mpg123 or xmms for ideas (google is your
friend).
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Mar 31 2003 - 22:00:19 EST