• Max Kellermann's avatar
    output/snapcast: implement Pause() · 9a21bdfd
    Max Kellermann authored
    This uncomments the code which had been present already in the first
    Snapcast commit (copied from the "httpd" output plugin), but I
    commented it because I did not know whether I needed to send silence
    samples to all Snapcast clients.
    
    As a side effect, this fixes playback when no Snapcast client is
    connected; this was broken because Pause() always returned a positive
    value when there were no clients.
    
    Closes https://github.com/MusicPlayerDaemon/MPD/issues/1310
    9a21bdfd
Internal.hxx 4.65 KB