[SOLVED] Music player daemon: pulse audio output not working.
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Music player daemon: pulse audio output not working.
Good afternoon,
After installing mpd and getting some basic configuration done the daemon seems to be running normally but a control client, specifically mpc still states { Volume: n/a}.
mpd.conf:
Code:
# Recommended location for database
db_file "~/.mpd/database"
# Logs to systemd journal
log_file "~/.mpd/log"
# The music directory is by default the XDG directory, uncomment to amend and choose a different directory
music_directory "~/Music"
# Uncomment to refresh the database whenever files in the music_directory are changed
auto_update "yes"
# Uncomment to enable the functionalities
playlist_directory "~/.mpd/playlists"
pid_file "~/.mpd/pid"
state_file "~/.mpd/state"
sticker_file "~/.mpd/sticker.sql"
audio_output {
type "pulse"
name "pulse audio"
}
Log file:
Code:
Dec 08 17:35 : update: added Miyagi-YAMAKASI/Мало нам.mp3
Dec 08 17:35 : update: added Miyagi-YAMAKASI/Психопатия.mp3
Dec 08 17:35 : update: added Miyagi-YAMAKASI/Atlant.mp3
Dec 08 17:35 : update: added Miyagi-YAMAKASI/Minor.mp3
Dec 08 17:35 : update: added Miyagi-YAMAKASI/Yamakasi.mp3
Dec 08 17:35 : update: added Miyagi-YAMAKASI/Там ревели горы.mp3
Dec 08 17:35 : update: added Miyagi-YAMAKASI/Tantra.mp3
Dec 08 17:35 : update: added Miyagi-YAMAKASI/Medicine.mp3
Dec 08 17:35 : update: added Miyagi-YAMAKASI/Utopia.mp3
Dec 08 17:38 : exception: Failed to read mixer for 'default detected output': no such mixer control: PCM
Dec 08 18:19 : exception: Failed to commit /home/tt/.mpd/state: File exists
Dec 08 18:19 : exception: Failed to commit /home/tt/.mpd/state: File exists
Dec 08 18:19 : exception: Failed to commit /home/tt/.mpd/state: File exists
Dec 08 18:30 : exception: Failed to commit /home/tt/.mpd/state: File exists
Dec 08 18:36 : exception: Failed to read mixer for 'default detected output': no such mixer control: PCM
Dec 08 18:40 : exception: Failed to commit /home/tt/.mpd/state: File exists
Dec 08 18:40 : exception: Failed to commit /home/tt/.mpd/state: File exists
volume [+-]<num> - Sets the volume to <num> (0-100). If
+ or - is used, then it adjusts the volume relative to the current volume.
outputs - Lists all available outputs
disable [only] <output # or name> [...] - Disables the
output(s); a list of one or more names or numbers is required. If “only” is the first argument, all other outputs are enabled.
enable [only] <output # or name> [...] - Enables the
output(s); a list of one or more names or numbers is required. If “only” is the first argument, all other outputs are disabled.
toggleoutput <output # or name> [...] - Changes the
status for the given output(s); a list of one or more names or numbers is
I think pulseaudio should be one word. That might not fix it, dunno, but I would try it.
I'm pretty sure the "Type" variable is the only one that matters. The name part is pretty much just a comment and should be only used for reference.
Anyway, this thread was solved by adding my user to the audio group.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.