public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Why I can't play music?
@ 2011-10-23  7:58 Lavender
  2011-10-23  8:20 ` David Abbott
  2011-10-23  8:28 ` Lavender
  0 siblings, 2 replies; 4+ messages in thread
From: Lavender @ 2011-10-23  7:58 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 2264 bytes --]

When I modifed USE to USE="-X -gnome -kde -gtk" ,
I finally successed in installing mplayer without graphical
desktop. But I got another problem.
 
# mplayer  christmas\ in\ my\ heart.mp3
 
It printed some error messages though mplayer could played mp3 file
without sound.
 
Error Message:
[AO_ALSA] alsa-lib: confmisc.c:768:(parse_card) cannot find card '0'
[AO_ALSA] alsa-lib: conf.c:4184:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
[AO_ALSA] alsa-lib: confmisc.c:392:(snd_func_concat) error evaluating strings
[AO_ALSA] alsa-lib: conf.c:4184:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
[AO_ALSA] alsa-lib: confmisc.c:1251:(snd_func_refer) error evaluating name
[AO_ALSA] alsa-lib: conf.c:4184:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
[AO_ALSA] alsa-lib: conf.c:4663:(snd_config_expand) Evaluate error: No such file or directory
[AO_ALSA] alsa-lib: pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM default
[AO_ALSA] Playback open error: No such file or directory
[AO SDL] Samplerate: 44100Hz Channels: Stereo Format s16le
[AO_ALSA] alsa-lib: confmisc.c:768:(parse_card) cannot find card '0'
[AO_ALSA] alsa-lib: conf.c:4184:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
[AO_ALSA] alsa-lib: confmisc.c:392:(snd_func_concat) error evaluating strings
[AO_ALSA] alsa-lib: conf.c:4184:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
[AO_ALSA] alsa-lib: confmisc.c:1251:(snd_func_refer) error evaluating name
[AO_ALSA] alsa-lib: conf.c:4184:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
[AO_ALSA] alsa-lib: conf.c:4663:(snd_config_expand)
Evaluate error: No such file or directory
[AO_ALSA] alsa-lib: pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM default
[AO SDL] Unable to open audio: No available audio device
DVB card number must be between 1 and 4
AO: [null] 44100Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
 
The sound card driver I have built into kernel . When I used lspci,
I can see that "hda_intel" is the driver for sound card.
So what's wrong with it ?

[-- Attachment #2: Type: text/html, Size: 2855 bytes --]

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

* Re: [gentoo-user] Why I can't play music?
  2011-10-23  7:58 [gentoo-user] Why I can't play music? Lavender
@ 2011-10-23  8:20 ` David Abbott
  2011-10-23  8:28 ` Lavender
  1 sibling, 0 replies; 4+ messages in thread
From: David Abbott @ 2011-10-23  8:20 UTC (permalink / raw
  To: gentoo-user

2011/10/23 Lavender <lavender_matrix@163.com>:
[snip]
> The sound card driver I have built into kernel . When I used lspci,
> I can see that "hda_intel" is the driver for sound card.
> So what's wrong with it ?
>
>
First use modules. This post [1] from the forum is about the mic but
it walks you through the process of setting up sound pretty well.
HTH David

[1] http://forums.gentoo.org/viewtopic-t-869451-start-0.html



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

* Re:Re: [gentoo-user] Why I can't play music?
  2011-10-23  7:58 [gentoo-user] Why I can't play music? Lavender
  2011-10-23  8:20 ` David Abbott
@ 2011-10-23  8:28 ` Lavender
  2011-10-30 14:57   ` James Broadhead
  1 sibling, 1 reply; 4+ messages in thread
From: Lavender @ 2011-10-23  8:28 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 285 bytes --]

>First use modules. This post [1] from the forum is about the mic but
>it walks you through the process of setting up sound pretty well.
>HTH David
>
>[1] http://forums.gentoo.org/viewtopic-t-869451-start-0.html
>

Thanks , I hope I can listen music when I finish reading this article.

[-- Attachment #2: Type: text/html, Size: 636 bytes --]

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

* Re: Re: [gentoo-user] Why I can't play music?
  2011-10-23  8:28 ` Lavender
@ 2011-10-30 14:57   ` James Broadhead
  0 siblings, 0 replies; 4+ messages in thread
From: James Broadhead @ 2011-10-30 14:57 UTC (permalink / raw
  To: gentoo-user

2011/10/23 Lavender <lavender_matrix@163.com>:
>>First use modules. This post [1] from the forum is about the mic but
>>it walks you through the process of setting up sound pretty well.
>>HTH David

My reading of those errors implies that you might have an alsa config
file left over which is confusing mplayer. Make sure that you don't
have .asoundrc or .alsa*  in your ${HOME}. You probably don't need one
(not for most setups).

Is your card in `cat /proc/asound/cards` or alsamixer ? (can't check
correct location, in Windows atm).



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

end of thread, other threads:[~2011-10-30 14:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-23  7:58 [gentoo-user] Why I can't play music? Lavender
2011-10-23  8:20 ` David Abbott
2011-10-23  8:28 ` Lavender
2011-10-30 14:57   ` James Broadhead

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox