mirror of
https://github.com/badaix/snapcast.git
synced 2025-08-04 00:59:32 +02:00
buffering
git-svn-id: svn://elaine/murooma/trunk@49 d8a302eb-03bc-478d-80e4-98257eca68ef
This commit is contained in:
parent
36337a1c66
commit
17f7c993ff
2 changed files with 18 additions and 5 deletions
2
chunk.h
2
chunk.h
|
@ -8,7 +8,7 @@
|
|||
#define WIRE_CHUNK_MS (40)
|
||||
#define WIRE_CHUNK_SIZE (SAMPLE_RATE*CHANNELS*SAMPLE_BIT/8*WIRE_CHUNK_MS/1000)
|
||||
|
||||
#define PLAYER_CHUNK_MS (20)
|
||||
#define PLAYER_CHUNK_MS (10)
|
||||
#define PLAYER_CHUNK_SIZE (SAMPLE_RATE*CHANNELS*SAMPLE_BIT/8*PLAYER_CHUNK_MS/1000)
|
||||
|
||||
#define FRAMES_PER_BUFFER (PLAYER_CHUNK_SIZE/(CHANNELS*SAMPLE_BIT/8))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue