|
|
| Daryl Sawyer 2005-07-26, 5:48 pm |
| I finally got sarge up and running fairly well. Now
I have a sound problem. I tried to stream some
music from a shoutcast style internet radio
station. I got the following error:
Couldn't open audio
Please check that:
Your soundcard is configured properly
You have the correct output plugin selected
No other program is blocking the soundcard
I got the same error while attempting to play a
local mp3 file. I haven't the slightest idea how to
begin fixing this problem. Any ideas?
| |
| Andreas Janssen 2005-07-27, 5:47 pm |
| Hello
Daryl Sawyer (<tarNOSPAMvok@gmail.com> ) wrote:
> I finally got sarge up and running fairly well. Now
> I have a sound problem. I tried to stream some
> music from a shoutcast style internet radio
> station. I got the following error:
>
> Couldn't open audio
> Please check that:
> Your soundcard is configured properly
> You have the correct output plugin selected
> No other program is blocking the soundcard
>
> I got the same error while attempting to play a
> local mp3 file. I haven't the slightest idea how to
> begin fixing this problem. Any ideas?
1. make sure the driver for your card has been loaded (Google Groups to
find the name, lsmod to check)
2. If you use ALSA, make sure the alsa-base, alsa-oss and alsa-utils
packages are installed. Use `cat /proc/asound/cards` after reboot to
see it the driver has been loaded and your card has been recognized.
Make sure the sound card has the index 0.
3. make sure you are in the audio group (adduser daryl audio, exit and
login again)
4. make sure that a) no program (e.g. sound server like esd or arts) is
blocking the card or b) your player uses the output plugin for the
sound server you use.
best regards
Andreas Janssen
--
Andreas Janssen <andreas.janssen@bigfoot.com>
PGP-Key-ID: 0xDC801674 ICQ #17079270
Registered Linux User #267976
http://www.andreas-janssen.de/debian-tipps-sarge.html
| |
| Eric Pozharski 2005-07-27, 8:46 pm |
| Daryl Sawyer <tarNOSPAMvok@gmail.com> wrote:
[***SKIP***]
> Couldn't open audio
> Please check that:
> Your soundcard is configured properly
> You have the correct output plugin selected
> No other program is blocking the soundcard
>
> I got the same error while attempting to play a
> local mp3 file. I haven't the slightest idea how to
> begin fixing this problem. Any ideas?
What `stat -L /dev/audio' says?
--
Torvalds' goal for Linux is very simple: World Domination
(it's third person quote.)
| |
|
| Eric Pozharski <whynot@ln.ua> writes:
>Daryl Sawyer <tarNOSPAMvok@gmail.com> wrote:
>[***SKIP***]
Yu may also have something like artsd running whichhas the device open. You
cannot share audio devices.
[vbcol=seagreen]
>What `stat -L /dev/audio' says?
>--
>Torvalds' goal for Linux is very simple: World Domination
>(it's third person quote.)
| |
| Daryl Sawyer 2005-07-31, 5:47 pm |
| Eric Pozharski wrote:
> Daryl Sawyer <tarNOSPAMvok@gmail.com> wrote:
> [***SKIP***]
>
> What `stat -L /dev/audio' says?
>
spacecow:/# stat -L /dev/audio
File: `/dev/audio'
Size: 0 Blocks: 0 IO Block: 4096 character
special file
Device: 302h/770d Inode: 655147 Links: 1 Device type: e,4
Access: (0660/crw-rw----) Uid: ( 0/ root) Gid: ( 29/ audio)
Access: 2005-02-25 22:39:39.000000000 -0800
Modify: 2005-02-25 22:39:39.000000000 -0800
Change: 2005-07-26 04:31:20.000000000 -0700
spacecow:/#
Over on #debian, I was told to run a file "sb." That
got my sound working for the time being, and then I
was told to add it to /etc/modules. I did that.
Unfortunately, upon reboot, it didn't load that
module; I'm back to getting the same error.
|
|
|
|