You are not logged in.

#1 2013-07-12 17:35:19

Barbalras
Member
Registered: 2013-07-12
Posts: 7

I broke my sound...

Hi everyone!

You are my last resort (the first one being google). I have arch installed in an ASUS laptop and I was trying to solve the cannot-play-two-sounds-simultaneously issue. During the process I removed the ~/.pulse folder and I may have changed the asound.conf file and any other configuration file the internet may mention.

I ended up with what looked like the correct configuration but no sound at all. I then tried reinstalling pulseaudio but now I get this error message whenever I try to open pavucontrol or pulseaudio:

[federico@chacoo ~]$ pavucontrol
pavucontrol: error while loading shared libraries: libjson-c.so.2: cannot open shared object file: No such file or directory

Just in case:

[federico@chacoo ~]$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC269VB Analog [ALC269VB Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC269VB Digital [ALC269VB Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

It seems that I only have sound through laptop speakers in flash videos. Weird.

[federico@chacoo ~]$ cat /etc/asound.conf
# Use PulseAudio by default
pcm.!default {
  type pulse
  fallback "sysdefault"
  hint {
    show on
    description "Default ALSA Output (currently PulseAudio Sound Server)"
  }
}

ctl.!default {
  type pulse
  fallback "sysdefault"
}

# vim:set ft=alsaconf:

Thanks in advanced for your help

Last edited by Barbalras (2013-07-12 17:42:21)

Offline

#2 2013-07-12 17:39:23

lolilolicon
Member
Registered: 2009-03-05
Posts: 1,722

Re: I broke my sound...

You methodology seems to suck; how did you "reinstall" pulseaudio? If you did it via pacman, json-c should already have been pulled in.

Last edited by lolilolicon (2013-07-12 17:39:38)


This silver ladybug at line 28...

Offline

#3 2013-07-12 17:43:13

Barbalras
Member
Registered: 2013-07-12
Posts: 7

Re: I broke my sound...

I exaggerated it a little bit... I did follow the wikis but this is my current state: no sound and pulseaudio giving the above errors

I reinstalled it with pacman -Rs and then pacman -S

Last edited by Barbalras (2013-07-12 21:06:06)

Offline

#4 2013-07-13 15:53:28

Barbalras
Member
Registered: 2013-07-12
Posts: 7

Re: I broke my sound...

Ok, I fixed it. This is the solution in case someone has the same problem.

sudo pacman -S json-c json-glib lib32-json-c

the last one is for skype to work (or other 32bit programs in a 64bit system)

Offline

Board footer

Powered by FluxBB