At Thu, 9 Nov 2006 15:22:34 +0530, aditya shankar wrote: > > Takashi-san, > > We tried invoking an IOCTL on /dev/mixer with command SOUND_MIXER_WRITE_RECSRC. It did > not seem to invoke the put function of the kcontrol for selecting recording source > (it's "Master Input Capture"). "Master Input Capture" is an uncommon name, and it won't be mapped to OSS mixer elements unless you specify via proc file. > Also, can I add my own IOCTL commands and route control to their implementations? No for oss mixer API. Yes for ALSA native API using hwdep device. Takashi > Thanks in advance > Aditya > > On 11/7/06, Takashi Iwai <tiwai@xxxxxxx> wrote: > > At Mon, 6 Nov 2006 18:21:40 +0530, > aditya shankar wrote: > > > > Hi Group, > > > > I'm integrating OSS mixer API support on a custom ARM based platform (custom > audio > > chip as well). I would like to know if I can add my own IOCTL commands in OSS > mixer > > API and then route them to my implementation. (This is required because there > are some > > features in audio chip and I can't find a mapping to the existing OSS mixer > IOCTL > > commands). > > Also I've observed that some standard IOCTLs such as REC_MASK etc are not > getting > > properly routed to the corresponding kcontrols. > > How did you check this exactly? Note that REC_MASK (RECSRC) doesn't > always correspond to an ALSA mixer element as 1:1 but often to a group > of elements. > > Takashi > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-devel