lkml.org 
[lkml]   [2003]   [Mar]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Please send a reply to me....
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:34    [W:0.040 / U:0.536 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site