Skip to contentSkip to conversation

: aplay.c has incorrect syntax in error message

ALSA - utils 0002012 [email protected] 1 participant 1 message Apr 18, 2006

lore
Share & tools
lore
#0 lore raw

The following issue has been RESOLVED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2012>
======================================================================

Reported By:                jaime
Assigned To:                tiwai
======================================================================
Project:                    ALSA - utils
Issue ID:                   2012
Category:                   aplay/arecord
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     resolved
Resolution:                 fixed
Fixed in Version:           
======================================================================
Date Submitted:             04-09-2006 10:14 CEST
Last Modified:              04-18-2006 15:26 CEST

======================================================================
Summary: aplay.c has incorrect syntax in error message
Description:
aplay.c line 920:
fprintf(stderr, _(" please, try the plug plugin (-Dplug:%s)\n"),
snd_pcm_name(handle));

This outputs:
"please, try the plug plugin (-Dplug:hw:0,0)"

Using the recommended syntax returns:

ALSA lib conf.c:3824:(parse_args) Unknown parameter 1
ALSA lib conf.c:3946:(snd_config_expand) Parse arguments error: No such file or directory
ALSA lib pcm.c:2099:(snd_pcm_open_noupdate) Unknown PCM plug:hw:0,0
aplay: main:544: audio open error: No such file or directory

The syntax should be:
-Dplughw:0,0
(without the colon after the word "plug")

======================================================================

----------------------------------------------------------------------
tiwai - 04-18-06 15:26
----------------------------------------------------------------------
Fixed on CVS.

Issue History
Date Modified Username Field Change
======================================================================

04-09-06 10:14 jaime          New Issue                                    
04-18-06 15:26 tiwai          Status                   new => resolved     
04-18-06 15:26 tiwai          Resolution               open => fixed       
04-18-06 15:26 tiwai          Assigned To               => tiwai           
04-18-06 15:26 tiwai          Note Added: 0009335                          

======================================================================

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642