mopidy/mopidy — pull request #183 by jodal (2012-09-07 23:54:03+00:00)
Title: Port NAD hardware mixer to the GStreamer mixer API

Fixes #179.

Example output when `nadmixer` is used:

```
$ python mopidy
INFO Starting Mopidy 0.7.3-105-gbb08399 on Linux-3.2.0-29-generic-x86_64-with-Ub
untu-12.04-precise CPython 2.7.3
INFO Output set to autoaudiosink
INFO Connecting to NAD amplifier using serial device "/dev/ttyUSB0"
INFO Mixer set to nadmixer using track called Master
INFO Mopidy uses SPOTIFY(R) CORE
INFO MPD server running at [::]:6600
INFO Connected to D-Bus
INFO Connected to Spotify
INFO Connected to NAD amplifier model "C355"
INFO Connected to Last.fm
INFO Calibrating NAD amplifier by setting volume to 0
INFO Done calibrating NAD amplifier
...
```

Output when `nadmixer` is used, but `python-serial` is missing:

```
$ python mopidy
INFO Starting Mopidy 0.7.3-105-gbb08399 on Linux-3.2.0-29-generic-x86_64-with-Ub
untu-12.04-precise CPython 2.7.3
INFO Output set to autoaudiosink
WARNING nadmixer dependency python-serial not found
WARNING Setting mixer u'nadmixer port=/dev/ttyUSB0 source=Aux speakers-a=On speaker
s-b=Off' to READY failed.
INFO Mopidy uses SPOTIFY(R) CORE
INFO MPD server running at [::]:6600
...
```

Output when another mixer is used, and python-serial is missing:

```
$ python mopidy
INFO Starting Mopidy 0.7.3-105-g641f8d2 on Linux-3.2.0-29-generic-x86_64-with-Ubuntu-12.04-precise CPython 2.7.3
INFO Output set to autoaudiosink
INFO Mixer set to alsamixer using track called Master
INFO Mopidy uses SPOTIFY(R) CORE
INFO MPD server running at [::]:6600
...
```