Author Topic: asound.state files  (Read 824 times)

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
asound.state files
« on: April 19, 2011, 03:43:10 AM »
There are two
asound.state
files on my system.

The first at   /etc/asound.state   and the second at   /var/lib/alsa/asound.state

The contents of those two files on this machine are different.

Which one is the active one?

What will be the effect if those two files have the same content?

My questions arise because I do not know the working function of the two separate files.
Is one used when Pulsa Audio is enabled and not used if not enabled?

regards.

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: asound.state files
« Reply #1 on: April 19, 2011, 04:03:17 AM »
From Tex's Twitter:
Quote
alsa updates stores asound.state in /var/lib/alsa but some DE's look for asound.state in /etc so lets symlink it back.

/var/lib/alsa/asound.state should be the active one. KDE will look for it there. I think.
I think that /etc/asound.state should be a symlink to /var/lib/alsa/asound.state. In that case, they would be the same.

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
Re: asound.state files
« Reply #2 on: April 19, 2011, 04:33:00 AM »
From Tex's Twitter:
Quote
alsa updates stores asound.state in /var/lib/alsa but some DE's look for asound.state in /etc so lets symlink it back.

/var/lib/alsa/asound.state should be the active one. KDE will look for it there. I think.
I think that /etc/asound.state should be a symlink to /var/lib/alsa/asound.state. In that case, they would be the same.

So, it would appear that DEs other than KDE may not have been using the correct - updated - file, and the linking of the two locations should fix that problem.

Did I understand this correctly?

Thanks for the response.

regards.

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: asound.state files
« Reply #3 on: April 19, 2011, 04:34:33 AM »
You understand correctly, so far as I know.

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
Re: asound.state files
« Reply #4 on: April 19, 2011, 04:36:26 AM »
You understand correctly, so far as I know.

Thanks  ;)

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: asound.state files
« Reply #5 on: April 19, 2011, 05:32:00 AM »
You're welcome. :)