Driver for a codec with built-in DSP for MP3 playback
Hi all,
I am wondering where to find the guidances of developing a device driver for a codec device which has a built-in DSP for MP3 (and tracks in other format) playback and recording?
Regards
David
Quoted 3 lines · Dajun Chen
I am wondering where to find the guidances of developing a device driver for a codec device which has a built-in DSP for MP3 (and tracks in other format) playback and recording?
OOI which device?
I'm not sure what you mean by guidance here. The standard thing would be to do it as a regular CODEC driver with a custom interface for userspace (eg, gstreamer) to talk to. The best way of handling DAPM will depend on implementation but probably representing the output of the DSP as an input pin will be easiest.
Hi,
I mean example code of a driver which works either on PCM and MP3 (or other compressed) audio stream.
Reagrds
David
Quoted 16 lines · Mark Brown
Quoted 1 line · Dajun Chen
I am wondering where to find the guidances of developing a device driver
for
Quoted 1 line
a codec device which has a built-in DSP for MP3 (and tracks in other
format)
Quoted 1 line
playback and recording?
OOI which device?
I'm not sure what you mean by guidance here. The standard thing would be to do it as a regular CODEC driver with a custom interface for userspace (eg, gstreamer) to talk to. The best way of handling DAPM will depend on implementation but probably representing the output of the DSP as an input pin will be easiest.
On Mon, Mar 15, 2010 at 04:01:34PM +0000, Dajun Chen wrote:
Please don't top post, lack of context makes it difficult to follow the thread of discussion.
Quoted 2 lines
I mean example code of a driver which works either on PCM and MP3 (or other compressed) audio stream.
ALSA only handles PCM streams itself, compressed audio needs to be handled separately. The TI DSP stuff is one example of handling compressed audio, or the Intel Moorestown drivers, but since there's no standard for that stuff at the kernel level there's not much to look at.
Thanks.
Please would you point me the place to see the TI and Intel drivers?
Regards
David
Quoted 14 lines · Mark Brown
On Mon, Mar 15, 2010 at 04:01:34PM +0000, Dajun Chen wrote:
Please don't top post, lack of context makes it difficult to follow the thread of discussion.
Quoted 1 line
I mean example code of a driver which works either on PCM and MP3 (or
other
Quoted 1 line
compressed) audio stream.
ALSA only handles PCM streams itself, compressed audio needs to be handled separately. The TI DSP stuff is one example of handling compressed audio, or the Intel Moorestown drivers, but since there's no standard for that stuff at the kernel level there's not much to look at.
Quoted 1 line · Dajun Chen
Thanks.
In my last reply I said "Please don't top post, lack of context makes it difficult to follow the thread of discussion.". This is standard etiquette for Linux mailing lists.
Quoted 1 line
Please would you point me the place to see the TI and Intel drivers?
Search the mailing list archive to the Moorestown driver, it's been posted here at least once. The TI stuff is in the OMAP git trees I believe.