diff options
author | Francois Andriot <francois.andriot@free.fr> | 2013-04-29 19:45:05 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2013-04-29 19:47:12 +0200 |
commit | 0b9bcf1fcdeab139c12543a6534e68cf2257e0d9 (patch) | |
tree | 271d642b59d2bdffe60099f9b39d7bdd9f8e51f2 | |
parent | 945f908df83a6880c102ddb17d33c759efee1967 (diff) | |
download | arts-0b9bcf1fcdeab139c12543a6534e68cf2257e0d9.tar.gz arts-0b9bcf1fcdeab139c12543a6534e68cf2257e0d9.zip |
Removed harcoded 4MB buffer size on ESD
This resolves Bug 1485
-rw-r--r-- | flow/audioioesd.cc | 8 |
1 files changed, 2 insertions, 6 deletions
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); |