You are not logged in.

#1 2018-08-24 15:44:51

daemilevs
Member
Registered: 2018-02-11
Posts: 6

Audio only working on one application at the same time.

I have had some audio problems in the past with my front out not working (the only output I use). and I managed to fix it with this .asoundrc.

pcm.!default {
      type hw
      card 1
      device 0

}
ctl.!default {
      type hw
      card 1
}

But when I start one application that uses audio this one has audio. But applications after that won't have audio until I first close that application and start the new application. When another application is already using audio and I start mpv, it gives me the following message:

[ao/jack] cannot open server

I have been searching around the internet for solutions but those usually involve changes to the .asoundrc file that just stop any audio from working.

Offline

#2 2018-08-24 15:50:01

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,740

Re: Audio only working on one application at the same time.

https://wiki.archlinux.org/index.php/Ad … ive_method Note the red warning box for your chosen approach.

Use

defaults.ctl.card 1;
defaults.pcm.card 1; 

instead or define indexing order in modprobe.d

Last edited by V1del (2018-08-24 15:50:40)

Offline

#3 2018-08-24 16:08:24

daemilevs
Member
Registered: 2018-02-11
Posts: 6

Re: Audio only working on one application at the same time.

V1del wrote:

https://wiki.archlinux.org/index.php/Ad … ive_method Note the red warning box for your chosen approach.

Use

defaults.ctl.card 1;
defaults.pcm.card 1; 

instead or define indexing order in modprobe.d

I added

defaults.ctl.card 1;
defaults.pcm.card 1; 

to /etc/modprobe.d/alsa-base.conf and removed the .asoundrc and that did seem to have fixed the problem (after a reboot).

Offline

#4 2018-08-24 16:15:36

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,740

Re: Audio only working on one application at the same time.

That... can't be. You should replace your contents of the .asoundrc with those lines. A file in modprobe.d would be of the format

options snd-hda-intel index=1,0

for example. Can you post

aplay -lL

within [ code ] tags?

Last edited by V1del (2018-08-24 16:16:57)

Offline

Board footer

Powered by FluxBB