diff options
Diffstat (limited to 'flow/audioioesd.cc')
-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); |