Removed harcoded 4MB buffer size on ESD

This resolves Bug 1485
(cherry picked from commit 0b9bcf1fcd)
v3.5.13-sru
Francois Andriot 11 years ago committed by Slávek Banko
parent f9e71d2a81
commit 9ff109af6c

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