Removed harcoded 4MB buffer size on ESD

This resolves Bug 1485
pull/1/head
Francois Andriot 11 years ago committed by Slávek Banko
parent 945f908df8
commit 0b9bcf1fcd

@ -204,14 +204,10 @@ int AudioIOESD::getParam(AudioParam p)
return write_fd;
case canRead:
return ESD_BUF_SIZE;
return param(fragmentSize);
case canWrite:
return ESD_BUF_SIZE;
// ESD handles are actually socket descriptors, and I know not
// of any portable way to peek at the socket's send or receive
// buffers.
return param(fragmentSize);
default:
return param(p);

Loading…
Cancel
Save