sc2mpd: handle halt flag

The OpenHome Songcast Audio Message uses a 'halt' flag to indicate that
the continuous stream of audio has completed and that the next continous
stream of audio will start at an arbitrary time in the future.

Therefore, if the halt flag in a message is set, close the ALSA device.

Jörg Krause Jörg Krause 2017-07-12

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...