comment
This commit is contained in:
@@ -20,7 +20,8 @@ int samplerate = 44100;
|
|||||||
const int samples_per_frame = channels;
|
const int samples_per_frame = channels;
|
||||||
const int bytes_per_frame = sizeof(Sint16) * samples_per_frame;
|
const int bytes_per_frame = sizeof(Sint16) * samples_per_frame;
|
||||||
|
|
||||||
/* Linux 2.6 has a fine-grained scheduler; use a small buffer size. Otherwise, use a larger one. */
|
/* Linux 2.6 has a fine-grained scheduler. We can almost always use a smaller buffer
|
||||||
|
* size than in 2.4. XXX: Some cards can handle smaller buffer sizes than others. */
|
||||||
static const unsigned max_writeahead_linux_26 = 512;
|
static const unsigned max_writeahead_linux_26 = 512;
|
||||||
static const unsigned safe_writeahead = 1024*4;
|
static const unsigned safe_writeahead = 1024*4;
|
||||||
static unsigned max_writeahead;
|
static unsigned max_writeahead;
|
||||||
|
|||||||
Reference in New Issue
Block a user