Lowering latency of jack a little depending on buffer size.
authorJoerg Mueller <nexyon@gmail.com>
Fri, 12 Feb 2010 11:59:07 +0000 (11:59 +0000)
committerJoerg Mueller <nexyon@gmail.com>
Fri, 12 Feb 2010 11:59:07 +0000 (11:59 +0000)
intern/audaspace/jack/AUD_JackDevice.cpp

index d22449dc12922391d7e21622a0dff865d5b41389..dfb2a60d6298878d3cf24f56af9d273548cdb28f 100644 (file)
@@ -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++)