control player settings

This commit is contained in:
badaix 2015-09-05 22:37:57 +02:00
parent f1e05797a3
commit f21251ccda
4 changed files with 71 additions and 33 deletions

View file

@ -26,6 +26,7 @@
#include "clientConnection.h"
#include "stream.h"
#include "pcmDevice.h"
#include "alsaPlayer.h"
/// Forwards PCM data to the audio player
@ -61,6 +62,7 @@ private:
Decoder* decoder_;
PcmDevice pcmDevice_;
size_t latency_;
std::unique_ptr<Player> player_;
std::exception exception_;
bool asyncException_;