mirror of
https://github.com/badaix/snapcast.git
synced 2025-08-03 00:29:35 +02:00
xxx
git-svn-id: svn://elaine/murooma/trunk@71 d8a302eb-03bc-478d-80e4-98257eca68ef
This commit is contained in:
parent
858e49a3ed
commit
18b3901c57
2 changed files with 80 additions and 12 deletions
3
chunk.h
3
chunk.h
|
@ -1,7 +1,7 @@
|
|||
#ifndef CHUNK_H
|
||||
#define CHUNK_H
|
||||
|
||||
#define SAMPLE_RATE (48000)
|
||||
#define SAMPLE_RATE (44100)
|
||||
//#define SAMPLE_BIT (16)
|
||||
#define CHANNELS (2)
|
||||
|
||||
|
@ -10,6 +10,7 @@
|
|||
|
||||
#define PLAYER_CHUNK_MS (10)
|
||||
#define PLAYER_CHUNK_SIZE (SAMPLE_RATE*CHANNELS*PLAYER_CHUNK_MS/1000)
|
||||
#define PLAYER_CHUNK_MS_SIZE (SAMPLE_RATE*CHANNELS/1000)
|
||||
#define FRAMES_PER_BUFFER (SAMPLE_RATE*PLAYER_CHUNK_MS/1000)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue