* Please send a reply to me....
@ 2003-03-25 4:34 Senthil Kumar
2003-03-25 6:50 ` Jan Knutar
0 siblings, 1 reply; 2+ messages in thread
From: Senthil Kumar @ 2003-03-25 4:34 UTC (permalink / raw)
To: linux-kernel, majordomo
Dear All,
Please give me some idea to play the extracted data from mp3 in real time
application.
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.
But i am getting only the irregular noise.
Is any uncompression should be done for data and written.
Is so how the uncompression should be done..
with thanks and regards
Senthil
Dear All,
Please give me some idea to play the extracted data from mp3 in real time
application.
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.
But i am getting only the irregular noise.
Is any uncompression should be done for data and written.
Is so how the uncompression should be done..
with thanks and regards
Senthil
_________________________________________________________________
Get ball by ball action on your desktop.
http://server1.msn.co.in/msnspecials/cricketdownload/contest.asp Get Hutch
MSN Cricketer
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Please send a reply to me....
2003-03-25 4:34 Please send a reply to me Senthil Kumar
@ 2003-03-25 6:50 ` Jan Knutar
0 siblings, 0 replies; 2+ messages in thread
From: Jan Knutar @ 2003-03-25 6:50 UTC (permalink / raw)
To: linux-kernel; +Cc: Senthil Kumar
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).
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-03-25 6:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-25 4:34 Please send a reply to me Senthil Kumar
2003-03-25 6:50 ` Jan Knutar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®