sc2mpd: add state command to get audio state

Sending the state command to the command handler gets the current
audio state: "Unknown", "Playing", or "Stopped".

The audio state is only supported for the ALSA audio device.

Signed-off-by: Jörg Krause joerg.krause@embedded.rocks

Jörg Krause Jörg Krause 2017-08-01

changed sc2src/alsadirect.cpp
changed sc2src/rcvqueue.h
changed sc2src/sc2mpd.cpp
sc2src/alsadirect.cpp Diff Switch to side-by-side view
Loading...
sc2src/rcvqueue.h Diff Switch to side-by-side view
Loading...
sc2src/sc2mpd.cpp Diff Switch to side-by-side view
Loading...