SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2011-07-13 06:06:56

Hatch
New Member
Registered: 2011-07-13
Posts: 2

Various mpd/mpc and audio issues (snd-hda-intel)

rmmod snd_hda_intel
modprobe snd_hda_intel

Last edited by Hatch (2011-07-13 21:38:22)

Offline

Be excellent to each other!

#2 2011-07-13 09:27:17

xaos52
The Good Doctor
From: Planet of the @s
Registered: 2011-06-24
Posts: 4,602

Re: Various mpd/mpc and audio issues (snd-hda-intel)

conc #3: mpd is set up to run as a system daemon in Debian.
The daemon runs as user "mpd".
For the "mpc ls" command to work, user "mpd" must have read access to your music directory.

On the other hand, if you want mpd to run as your user, you have to:

cp /etc/mpd.conf ~/.mpd.conf

modify /etc/default/mpd:

## Defaults for the MPD init script, sourced by /etc/init.d/mpd on Debian
## systems.  Uncomment (remove the leading '#') and change values as needed.

## Change this to prevent MPD from being started as a system service (for
## example, if you want to run it from a regular user account)
# START_MPD=true

## The configuration file location for mpd:
MPDCONF=$HOME/.mpd.conf

## Change this to enable/disable debugging
MPD_DEBUG="true"

modify ~/.mpd.conf so that mpd reads your ~/.mpd.conf, logs to a logfile of your own, saves the pid to a file of your own, etc...
Check your mpd.conf thoroughly, replace all system locations by user locations

I suggest you lace all your mpd related files in a dir ~/mpd

Hope this helps...

Last edited by xaos52 (2011-07-13 09:31:17)

Offline

#3 2011-07-13 09:40:07

machinebacon
#! unstable
From: China
Registered: 2009-07-02
Posts: 6,826
Website

Re: Various mpd/mpc and audio issues (snd-hda-intel)

in the mpd configuration file there is a section which defines the audio output:

audio_output { 
         type                    "alsa"
         name                    "My ALSA Device"
         device                  "hw:0,0"     # optional
         format                  "44100:16:2" # optional
}

 

Maybe you need to define the device and the output here. Check that this section has no # in front of the lines. BTW If you have an on-board *and* PCI sound card, you need to disable the on-board sound card, so that the PCI sound card is used only.

Regarding sound from multiple sources: dmix can be used for the digital streams as software mixer, so that multiple streams can be played simultaneously.

Last edited by machinebacon (2011-07-13 09:48:15)

Offline

#4 2011-07-13 21:49:43

Hatch
New Member
Registered: 2011-07-13
Posts: 2

Re: Various mpd/mpc and audio issues (snd-hda-intel)

rmmod snd_hda_intel
modprobe snd_hda_intel

Last edited by Hatch (2011-07-14 04:15:20)

Offline

#5 2011-07-14 13:06:01

xaos52
The Good Doctor
From: Planet of the @s
Registered: 2011-06-24
Posts: 4,602

Re: Various mpd/mpc and audio issues (snd-hda-intel)

## Defaults for the MPD init script, sourced by /etc/init.d/mpd on Debian
## systems.  Uncomment (remove the leading '#') and change values as needed.

## Change this to prevent MPD from being started as a system service (for
## example, if you want to run it from a regular user account)
START_MPD=false

## The configuration file location for mpd:
MPDCONF=$HOME/.mpdconf

Last edited by xaos52 (2011-07-14 13:17:31)

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: bleh

Debian Logo