mirror of
https://github.com/badaix/snapcast.git
synced 2025-06-01 18:31:45 +02:00
alsa
git-svn-id: svn://elaine/murooma/trunk@204 d8a302eb-03bc-478d-80e4-98257eca68ef
This commit is contained in:
parent
f269b6deb8
commit
d4fcf84fb8
4 changed files with 128 additions and 15 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue