You are not logged in.

#1 2012-11-04 18:21:31

alphe
Member
Registered: 2009-03-30
Posts: 18

mpd config: audio output option 'options' was not recognized

Following the mpd wiki I put in /etc/mpd.conf the following

audio_output {
	type		"alsa" 		# Use the ALSA output plugin.
	name		"HDA Intel" 	# Can be called anything or nothing tmk, but must be present.
	options		"dev=dmixer"
	device		"plug:dmix"	# Both lines cause MPD to output to dmix.
	format		"44100:16:2"	# the actual format
	auto_resample	"no"		# This bypasses ALSA's own algorithms, which generally are inferior. See below how to choose a different one.
	use_mmap	"yes"		# Minor speed improvement, should work with all modern cards.
	mixer_type	"software"
}

and in /etc/asound.conf

defaults.pcm.dmix.rate 44100 # Force 44.1 KHz
defaults.pcm.dmix.format S16_LE # Force 16 bits

Now when mpd starts the following error appears in mpd.log

Nov 04 19:16 : config: option 'options' on line 206 was not recognized

where line 206 is: options "dev=dmixer"

mpd community wiki also mention this option as ALSA dmix configuration example and I cannot find other references in the web for similar errors.

Despite this error everything seems to work fine.

Is it something wrong with my setup or I can ignore it?

Thanks

Offline

#2 2012-11-04 18:45:36

pulce
Member
From: Italy
Registered: 2011-02-14
Posts: 64

Re: mpd config: audio output option 'options' was not recognized

try to comment out that line and see if still works.

Offline

#3 2012-11-04 18:58:29

alphe
Member
Registered: 2009-03-30
Posts: 18

Re: mpd config: audio output option 'options' was not recognized

pulce wrote:

try to comment out that line and see if still works.

Works. Low CPU usage. Fine, for my ears, sound.

Is it if-it-works-don't-touch-it or do you have an explanation?

Offline

#4 2012-11-05 00:23:53

pulce
Member
From: Italy
Registered: 2011-02-14
Posts: 64

Re: mpd config: audio output option 'options' was not recognized

Not a real explaination, I just noticed that there's no such

options "dev=dmixer"

line in my default mpd.conf, so I guess that option isn't supported any more. The wiki may be out of date.

Offline

#5 2012-11-05 18:11:50

alphe
Member
Registered: 2009-03-30
Posts: 18

Re: mpd config: audio output option 'options' was not recognized

Thank you pulce.

Maybe arch and mpd wikis are out of date as mpd.conf man page also does not mention it as a parameter.

Offline

Board footer

Powered by FluxBB