INTERACT FORUM

More => Old Versions => JRiver Media Center 20 for Linux => Topic started by: Johnny Stork on November 17, 2013, 12:37:30 pm

Title: No Audio - Alsa Error
Post by: Johnny Stork on November 17, 2013, 12:37:30 pm
Rubbing an Asus Xonar STS and Mint 16. MC installed fine, connected to library but when I try to play I get an ALSA error about an unsupported output format?

Playback could not be started on the output 'ALSA' using the format '44.1khz 24bit 2ch'

Suggestions?
Title: Re: No Audio - Alsa Error
Post by: Mike Noe on November 17, 2013, 04:52:38 pm
Use output format in DSP to set 48kHz (or 96), see what happens.
Title: Re: No Audio - Alsa Error
Post by: mcollier on November 20, 2013, 11:38:23 am
Hi Johnny, on my system, I have about 7 ALSA devices to choose from.  I found that I get the same error you described on all but one that works properly.  So, I recommend trying all the various ALSA devices you find in the audio settings.
Title: Re: No Audio - Alsa Error
Post by: InflatableMouse on November 20, 2013, 12:01:20 pm
Same thing here, big list of devices, only 1 works.

In that list there's one called: Default.

This default points to one the named devices, I tried to figure out how to set this default to the one that works, but I've not managed it yet.

Any ideas/tips on that would be appreciated.
Title: Re: No Audio - Alsa Error
Post by: bob on November 20, 2013, 10:43:56 pm
I'm thinking in these cases that something else is using the devices you see but can't open. For example, when I open pavucontrol, I can't get at any device but default.
Default is what the alsa system thinks is the current default. The actual string passed is "default"
Title: Re: No Audio - Alsa Error
Post by: InflatableMouse on November 22, 2013, 04:34:34 am
Same thing here, big list of devices, only 1 works.

In that list there's one called: Default.

This default points to one the named devices, I tried to figure out how to set this default to the one that works, but I've not managed it yet.

Any ideas/tips on that would be appreciated.

This worked for me:

Code: [Select]
cat /proc/asound/modules
gives this response

Quote
0 snd_hda_intel
1 snd_virtuoso

Use these to edit /etc/modprobe.d/alsa-base.conf. Add to the end of the file:

Quote
# setting order
options snd_virtuoso index=0
options snd_hda_intel index=-2

Index=0 makes that card the default, -2 makes sure that one isn't being used.

Obviously replace the "snd_blah" for whatever cat /proc/asound/modules outputs.

Reboot or try
Code: [Select]
sudo /etc/init.d/alsa-utils restart
In my case this made the Default that MC shows on top of the list a working option. Also, some game which used the Default didn't even start ... now it starts and has working sound.