All of lore.kernel.org
 help / color / mirror / Atom feed
* Question about rawmidi documentation
@ 2002-07-23 22:31 Pedro Lopez-Cabanillas
  2002-07-24  9:56 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Pedro Lopez-Cabanillas @ 2002-07-23 22:31 UTC (permalink / raw)
  To: ALSA devel

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

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

* Re: Question about rawmidi documentation
  2002-07-23 22:31 Question about rawmidi documentation Pedro Lopez-Cabanillas
@ 2002-07-24  9:56 ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2002-07-24  9:56 UTC (permalink / raw)
  To: Pedro Lopez-Cabanillas; +Cc: ALSA devel

At Wed, 24 Jul 2002 00:31:57 +0200,
Pedro Lopez-Cabanillas wrote:
> 
> 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.

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

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

end of thread, other threads:[~2002-07-24  9:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-23 22:31 Question about rawmidi documentation Pedro Lopez-Cabanillas
2002-07-24  9:56 ` Takashi Iwai

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.