projects
/
blender.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd88fb3
)
Lowering latency of jack a little depending on buffer size.
author
Joerg Mueller <nexyon@gmail.com>
Fri, 12 Feb 2010 11:59:07 +0000
(11:59 +0000)
committer
Joerg Mueller <nexyon@gmail.com>
Fri, 12 Feb 2010 11:59:07 +0000
(11:59 +0000)
intern/audaspace/jack/AUD_JackDevice.cpp
patch
|
blob
|
history
diff --git
a/intern/audaspace/jack/AUD_JackDevice.cpp
b/intern/audaspace/jack/AUD_JackDevice.cpp
index d22449dc12922391d7e21622a0dff865d5b41389..dfb2a60d6298878d3cf24f56af9d273548cdb28f 100644
(file)
--- a/
intern/audaspace/jack/AUD_JackDevice.cpp
+++ b/
intern/audaspace/jack/AUD_JackDevice.cpp
@@
-160,9
+160,6
@@
AUD_JackDevice::AUD_JackDevice(AUD_DeviceSpecs specs, int buffersize)
m_specs.rate = (AUD_SampleRate)jack_get_sample_rate(m_client);
- buffersize /= 256;
- buffersize *= m_specs.rate;
- buffersize /= 4 * sizeof(sample_t);
buffersize *= sizeof(sample_t);
m_ringbuffers = new jack_ringbuffer_t*[specs.channels]; AUD_NEW("jack_buffers")
for(unsigned int i = 0; i < specs.channels; i++)