Skip to contentSkip to conversation

writing-an-alsa-driver: snd_info_set_text_ops()

DISCUSSION Martin Langer 1 participant 1 message Dec 27, 2003

lore
Share & tools
lore
#0 lore raw

Hi,

in the docs of writing-an-alsa-driver
http://www.alsa-project.org/~iwai/writing-an-alsa-driver/c1396.htm
is snd_info_set_text_ops() used as
snd_info_set_text_ops(entry, chip, my_proc_read);

But the reality of alsa-driver/alsa-kernel/include/info.h says:

static inline void snd_info_set_text_ops(snd_info_entry_t *entry,
void *private_data, long read_size,

                                         void (*read)(snd_info_entry_t *, snd_info_buffer_t *))

That looks like read_size is missing in the docs?

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