Switch to side-by-side view
--- a/mpd2src/mpd2sc.cpp +++ b/mpd2src/mpd2sc.cpp @@ -330,7 +330,11 @@ if (g_quitrequest) { return; } +#ifdef HAVE_SENDAUDIO_PAUSE_FLAG iDriver->SendAudio(cp, iPacketBytes, iPaused); +#else + iDriver->SendAudio(cp, iPacketBytes); +#endif } } @@ -361,7 +365,11 @@ sigsent = true; } } else if (nread > 0) { +#ifdef HAVE_SENDAUDIO_PAUSE_FLAG iDriver->SendAudio(cp, iPacketBytes, eos || g_quitrequest); +#else + iDriver->SendAudio(cp, iPacketBytes); +#endif } if (!eos && !g_quitrequest) {