From 0b9bcf1fcdeab139c12543a6534e68cf2257e0d9 Mon Sep 17 00:00:00 2001 From: Francois Andriot Date: Mon, 29 Apr 2013 19:45:05 +0200 Subject: Removed harcoded 4MB buffer size on ESD This resolves Bug 1485 --- flow/audioioesd.cc | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'flow') diff --git a/flow/audioioesd.cc b/flow/audioioesd.cc index 30f18c5..90b074d 100644 --- a/flow/audioioesd.cc +++ b/flow/audioioesd.cc @@ -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); -- cgit v1.2.1