Question about rawmidi documentation
In alsa-lib/src/rawmidi/rawmidi.c there are two functions :
"snd_rawmidi_params", and "snd_rawmidi_params_current". Both documented with very similar brief descriptions: "get parameters about rawmidi stream" and "get current parameters about rawmidi stream".
I suppose that the first function changes the parameters, and the second gets them. If not, How I can change the rawmidi parameters? Otherwise, the brief description should be fixed, because it goes to the generated doxygen docs, and the function names themselves are not very clear.
Regards,
Pedro
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
At Wed, 24 Jul 2002 00:31:57 +0200,
Quoted 10 lines · Pedro Lopez-Cabanillas
In
alsa-lib/src/rawmidi/rawmidi.cthere are two functions :
"snd_rawmidi_params", and "snd_rawmidi_params_current". Both documented with very similar brief descriptions: "get parameters about rawmidi stream" and "get current parameters about rawmidi stream".I suppose that the first function changes the parameters, and the second gets them. If not, How I can change the rawmidi parameters? Otherwise, the brief description should be fixed, because it goes to the generated doxygen docs, and the function names themselves are not very clear.
i believe it's a typo. should be fixed.
snd_rawmidi_params() stores the information of params to the driver. this is what you want.
and snd_rawmidi_params_current() gets the information of the current status to the params struct.
Takashi
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf