git-svn-id: svn://elaine/murooma/trunk@204 d8a302eb-03bc-478d-80e4-98257eca68ef
This commit is contained in:
(no author) 2014-08-22 20:17:46 +00:00
parent f269b6deb8
commit d4fcf84fb8
4 changed files with 128 additions and 15 deletions

View file

@ -22,6 +22,14 @@ public:
void getPlayerChunk(void* outputBuffer, double outputBufferDacTime, unsigned long framesPerBuffer);
void setBufferLen(size_t bufferLenMs);
void setLatency(size_t latency);
size_t getSampleRate() const
{
return hz_;
}
size_t getChannels() const
{
return channels_;
}
private:
time_point_ms getNextPlayerChunk(void* outputBuffer, unsigned long framesPerBuffer, int correction = 0);