git-svn-id: svn://elaine/murooma/trunk@71 d8a302eb-03bc-478d-80e4-98257eca68ef
This commit is contained in:
(no author) 2014-07-05 17:16:14 +00:00
parent 858e49a3ed
commit 18b3901c57
2 changed files with 80 additions and 12 deletions

View file

@ -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)