Hi Steve, Does latest version support OSS with multiple codecs?
We are using OSS and we have already written lot of code for the codecs. Thanks, Azam. On Thu, May 28, 2009 at 6:56 PM, Steve Chen <[email protected]> wrote: > On Thu, 2009-05-28 at 17:58 +0530, Azam Ansari wrote: > > Hi, > > > > I am using 2 different audio codecs. It seems that the davinci audio > > supports only one codec at a time. How can I support more than one > > codec? > > > > file: sound/oss/davinci-audio.c > > int audio_register_codec(audio_state_t * codec_state) > > { > > int ret; > > FN_IN; > > > > /* We dont handle multiple codecs now */ > > if (audio_state.hw_init) { > > DPRINTK("Codec Already registered\n"); > > return -EPERM; > > } > > > > > > I want /dev/sound/dsp0 for McBSP0 and /dev/sound/dsp1 for McBSP1. > > I assume you are using TI LSP 1.X/MVL Pro4. TI LSP 2.x/MVL Pro5 > supports multiple codecs. I would suggest upgrading to a later kernel. > > Regards, > > Steve > > > >
_______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
