[alsa-devel] [PATCH - aplay 1/1] aplay - option to dump HW parameters

Takashi Iwai tiwai at suse.de
Mon Mar 5 16:02:56 CET 2012


At Mon, 05 Mar 2012 16:01:12 +0100,
Takashi Iwai wrote:
> 
> At Mon, 05 Mar 2012 15:43:08 +0100,
> Pavel Hofman wrote:
> > 
> > Dne 5.3.2012 15:23, Takashi Iwai napsal(a):
> > > At Fri,  2 Mar 2012 20:32:58 +0000,
> > > pavel.hofman at ivitera.com wrote:
> > >>
> > >> From: Pavel Hofman <pavel.hofman at ivitera.com>
> > >>
> > >> Dumping HW parameters of the current device with snd_pcm_hw_params_dump,
> > >> a new option --dump-hw-params added.
> > > 
> > > Well, the purpose and the actual operation of this option is a bit
> > > unclear with such a short description.  Your patch adds the output of
> > > the pre-config state of the hw_params.  It makes sense since the
> > > post-config state is shown via -v option.  If this is the intended
> > > behavior, please write a bit more details in the man page.
> > > 
> > > 
> > 
> > Takashi, thanks for your reply. Could I call it hardware capabilities of
> > the device?
> 
> Yeah, it sounds more intuitive.  But, also it'd be better to describe
> the exact information in the man page, i.e. it's a hw_params dump of
> the preconfigured status.

On the second thought, "hardware" capabilities may be also misleading.
For example, when your run it without -Dhw, it'll show the all
possible values because of plug wrapper.


Takashi


More information about the Alsa-devel mailing list