All of lore.kernel.org
 help / color / mirror / Atom feed
* Where to put code for a new ioctl.
@ 2005-11-27 11:10 James Courtier-Dutton
  2005-11-28 11:44 ` Takashi Iwai
  0 siblings, 1 reply; 9+ messages in thread
From: James Courtier-Dutton @ 2005-11-27 11:10 UTC (permalink / raw)
  To: alsa-devel

I am looking at alsa-lib.
./src/control/control_hw.c is there the actual ioctl call goes.
./src/control/control.c calls the routine in control_hw.c
./src/control/hcontrol.c calls the routine in control.c
./src/mixer/simple_none.c handles the call from the user app, it then 
calls ??? hcontrol.c or control.c ?

So, my question is, if I have to write code between the user apps 
request and the ioctl. The purpose of the code is to take the request 
from the user, and then encapsulate it in the ioctl specific format, and 
then call the ioctl. Do I implement this encapsulating code in control.c 
or hcontrol.c ?

James


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2005-11-29 10:53 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-27 11:10 Where to put code for a new ioctl James Courtier-Dutton
2005-11-28 11:44 ` Takashi Iwai
2005-11-28 11:57   ` Jaroslav Kysela
2005-11-28 18:56     ` James Courtier-Dutton
2005-11-28 19:18       ` Takashi Iwai
2005-11-28 19:33         ` Liam Girdwood
2005-11-28 21:23         ` James Courtier-Dutton
2005-11-29 10:53           ` Takashi Iwai
2005-11-29  7:55       ` Jaroslav Kysela

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.