Skip to contentSkip to conversation

Sample ctl plugin ?

DISCUSSION Giuliano Pochini 2 participants 2 messages May 31, 2005

lore
Share & tools
lore
#0 lore raw

Is there any docs, examples, neural plug teaching device or anything that explains how to write a ctl plugin for alsa-lib ?

--
Giuliano.

-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005

#1 lore raw
Quoted 3 lines · Giuliano Pochini

Is there any docs, examples, neural plug teaching device or anything that explains how to write a ctl plugin for alsa-lib ?

Nope, but copy src/control/control_hw.c to a new file and replace ioctl() calls with your code.

Jaroslav

-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project, SUSE Labs

-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005