mirror of
https://github.com/badaix/snapcast.git
synced 2025-07-23 11:27:38 +02:00
sleep
git-svn-id: svn://elaine/murooma/trunk@300 d8a302eb-03bc-478d-80e4-98257eca68ef
This commit is contained in:
parent
f54ea7564c
commit
1759aeb160
5 changed files with 39 additions and 38 deletions
|
@ -12,7 +12,7 @@ double PcmEncoder::encode(PcmChunk* chunk)
|
|||
for (size_t n=0; n<wireChunk->length; ++n)
|
||||
wireChunk->payload[n] *= 1;
|
||||
*/
|
||||
return chunk->getDuration();
|
||||
return chunk->duration<chronos::msec>().count();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue