Hello:

When using 'mixer_type="software"' in my mpd.conf file, volume can not
be controlled during DSF and SACD ISO playback (ISO support is via
Maxim Anisiutkin's experimental plugin). However, FLAC and MP3 files
work just fine in using the software option for my mixer setting.

Running Linux Mint 17, 3.13.0.-37-generic x86_64. I am using
mpd-0.18.7-1 as well as Maxim's fork (git pull as of 2/14/15). My
client is ncmpcpp-0.5.10-1.1.

Hardware based volume control works fine though with all file formats,
only software based fails with SACD based files. Given that the SACD
files should be converted to 24-bit/385.2k PCM during playback,
shouldn't software mixer based volume control still work?

More info:

 $ sudo aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 0: ALC283 Analog [ALC283 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: P [Resonessence Labs HERUS P], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

I am using a Herus+ USB DAC/amp, card 2.

$ cat ~/.mpd/mpd.conf
...
audio_output {
    type        "alsa"
    name       "Herus+"
    device        "hw:2,0"    # optional
    mixer_type  "software"
}

 $ sudo amixer -c 2 scontrols
Simple mixer control 'Speaker', 0

$ /opt/local/bin/mpd --version
Music Player Daemon 0.20 (5e685af)

Copyright (C) 2003-2007 Warren Dukes <[email protected]>
Copyright (C) 2008-2014 Max Kellermann <[email protected]>
This is free software; see the source for copying conditions.  There is NO
warranty; not even MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Database plugins:
 simple proxy upnp

Storage plugins:
 local smbclient nfs

Neighbor plugins:
 smbclient upnp

Decoders plugins:
 [mad] mp3 mp2
 [mpg123] mp3
 [vorbis] ogg oga
 [oggflac] ogg oga
 [flac] flac
 [opus] opus ogg oga
 [sndfile] wav aiff aif au snd paf iff svx sf voc w64 pvf xi htk caf sd2
 [audiofile] wav au aiff aif
 [dsdiff] dff
 [dsf] dsf
 [faad] aac
 [mpcdec] mpc
 [wavpack] wv
 [modplug] 669 amf ams dbm dfm dsm far it med mdl mod mtm mt2 okt s3m
stm ult umx xm
 [sidplay] sid mus str prg P00
 [wildmidi] mid
 [fluidsynth] mid
 [adplug] amd d00 hsc laa rad raw sa2
 [ffmpeg] 16sv 3g2 3gp 4xm 8svx aa3 aac ac3 afc aif aifc aiff al alaw
amr anim apc ape asf atrac au aud avi avm2 avs bap bfi c93 cak cin cmv
cpk daud dct divx dts dv dvd dxa eac3 film flac flc fli fll flx flv
g726 gsm gxf iss m1v m2v m2t m2ts m4a m4b m4v mad mj2 mjpeg mjpg mka
mkv mlp mm mmf mov mp+ mp1 mp2 mp3 mp4 mpc mpeg mpg mpga mpp mpu mve
mvi mxf nc nsv nut nuv oga ogm ogv ogx oma ogg omg opus psp pva qcp qt
r3d ra ram rl2 rm rmvb roq rpl rvc shn smk snd sol son spx str swf tgi
tgq tgv thp ts tsp tta xa xvid uv uv2 vb vid vob voc vp6 vmd wav webm
wma wmv wsaud wsvga wv wve
 [gme] ay gbs gym hes kss nsf nsfe sap spc vgm vgz
 [sacdiso] dat iso
 [pcm]

Tag plugins:
 id3tag

Output plugins:
 shout null fifo alsa roar ao oss openal pulse jack httpd recorder

Encoder plugins:
 null vorbis opus lame twolame wave flac

Archive plugins:
 [bz2] bz2

Input plugins:
 file alsa archive curl ffmpeg smbclient nfs mms cdio_paranoia

Playlist plugins:
 extm3u m3u pls xspf asx rss soundcloud cue embcue

Protocols:
 file:// http:// https:// mms:// mmsh:// mmst:// mmsu:// gopher://
rtp:// rtsp:// rtmp:// rtmpt:// rtmps:// smb:// nfs:// cdda:// alsa://
rols

Is this a real issue or is this pilot error on my part?

-aps (Alex)

PS ffmpeg support also had an issue during the build. The
HAVE_AV_FAST_MALLOC define is a bit wonky. I had to explicitly include
libavcode/avcodec.h to get it to compile. Here is my libavcodec-dev
pkg settings:

$ sudo dpkg -s libavcodec-dev
Package: libavcodec-dev
Status: install ok installed
Priority: optional
Section: libdevel
Installed-Size: 10374
Maintainer: Jon Severinsson <[email protected]>
Architecture: amd64
Source: ffmpeg
Version: 7:1.2.6-1~trusty1
Depends: libavcodec54 (<= 7:1.2.6-99) | libavcodec-extra-54 (<=
7:1.2.6-99), libavcodec54 (>= 7:1.2.6-1~trusty1) | libavcodec-extra-54
(>= 7:1.2.6-1~trusty1), libavutil-dev (= 7:1.2.6-1~trusty1)
Suggests: libdc1394-22-dev, libgsm1-dev, libogg-dev, libraw1394-dev,
libschroedinger-dev, libspeex-dev, libtheora-dev (>> 0.0.0.alpha4),
libvorbis-dev, libx11-dev, libxext-dev, zlib1g-dev
Description: Development files for libavcodec
 FFmpeg is a complete, cross-platform solution to decode, encode, record,
 convert and stream audio and video.

This maybe another bug in autoconf/m4 macro land.
_______________________________________________
mpd-devel mailing list
[email protected]
http://mailman.blarg.de/listinfo/mpd-devel

Reply via email to