Hi, two small typos in the docs on http://www.alsa-project.org/~iwai/writing-an-alsa-driver/x494.htm
There are *playback* labeled functions for open and close: static snd_pcm_ops_t snd_mychip_playback_ops = { .open = snd_mychip_playback_open, .close = snd_mychip_playback_close, [...] }; But OTOH they were called *pcm* instead of *playback*: static int snd_mychip_pcm_open(snd_pcm_substream_t *subs) {} static int snd_mychip_pcm_close(snd_pcm_substream_t *substream) {} martin ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel