Hypfer / Hypfer/squeezelite

Duplicate pulsaudio process

Open
#81 0 comments 0 reactions 0 assignees View on GitHub
auto-migrated Priority-Medium Type-Defect
Dominant language
C
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

```
What steps will reproduce the problem?
1. Start Ubuntu 14.04 - one pulseaudio running
teo@Kodi:~$ ps -ef | grep -e "pulse" -e "squeezelite"
teo 1522 1147 0 12:30 ? 00:00:00 /usr/bin/pulseaudio --start
--log-target=syslog
teo 1603 1522 0 12:30 ? 00:00:00
/usr/lib/pulseaudio/pulse/gconf-helper
teo 2645 2018 0 12:32 pts/2 00:00:00 grep --color=auto -e pulse -e
squeezelite

2.Start Squeezelite with -o pulse as user teo
sudo start-stop-daemon --start --quiet -b -m -p /var/run/squeezelite.pid
--chuid teo --exec /usr/bin/squeezelite-x86-64 -- -o pulse -n Obývák

3. Second pulseaudio process is out there fighting for HW with first one!!!
teo@Kodi:~$ ps -ef | grep -e "pulse" -e "squeezelite"
teo 1522 1147 0 12:30 ? 00:00:00 /usr/bin/pulseaudio --start
--log-target=syslog
teo 1603 1522 0 12:30 ? 00:00:00
/usr/lib/pulseaudio/pulse/gconf-helper
teo 2934 1 2 12:33 ? 00:00:00 /usr/bin/squeezelite-x86-64 -o
pulse -n Obývák
teo 2939 1 5 12:33 ? 00:00:01 /usr/bin/pulseaudio --start
--log-target=syslog
teo 2941 2939 0 12:33 ? 00:00:00
/usr/lib/pulseaudio/pulse/gconf-helper

after trying play from Rhytmbox
tail /var/log/syslog
Dec 29 12:41:45 Kodi pulseaudio[1522]: [alsa-sink-HDMI 0] alsa-sink.c: Error
opening PCM device hdmi:0: Zařízení nebo zdroj jsou používány

What is the expected output? What do you see instead?
Be able to play by squeezelite and desktop sounds same time and avoid failures
to open hw device

What version of the product are you using? On what operating system?
Ubuntu 14.04
Squeezelite v1.6.5

Thank you!
```

Original issue reported on code.google.com by `tomas.vr...@gmail.com` on 29 Dec 2014 at 11:46

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.