From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: Question about rawmidi documentation Date: Wed, 24 Jul 2002 11:56:31 +0200 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: <200207240031.57343.plcl@telefonica.net> Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <200207240031.57343.plcl@telefonica.net> Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Pedro Lopez-Cabanillas Cc: ALSA devel List-Id: alsa-devel@alsa-project.org 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