mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-21 21:16:15 +02:00
sync send
git-svn-id: svn://elaine/murooma/trunk@256 d8a302eb-03bc-478d-80e4-98257eca68ef
This commit is contained in:
parent
979f6460d3
commit
3369363453
8 changed files with 111 additions and 25 deletions
|
@ -23,8 +23,8 @@ double OggEncoder::encode(PcmChunk* chunk)
|
|||
double res = 0;
|
||||
if (tv_sec == 0)
|
||||
{
|
||||
tv_sec = chunk->tv_sec;
|
||||
tv_usec = chunk->tv_usec;
|
||||
tv_sec = chunk->timestamp.sec;
|
||||
tv_usec = chunk->timestamp.usec;
|
||||
}
|
||||
//cout << "-> pcm: " << wireChunk->length << endl;
|
||||
int bytes = chunk->payloadSize / 4;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue