summaryrefslogtreecommitdiff
path: root/src/device.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/device.cc')
-rw-r--r--src/device.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device.cc b/src/device.cc
index b4c6379..e388c75 100644
--- a/src/device.cc
+++ b/src/device.cc
@@ -262,7 +262,7 @@ Sink *Device::getSink(std::string name, unsigned int samplerate,
return NULL;
}
- snd_pcm_uframes_t frames = 512;
+ snd_pcm_uframes_t frames = 2048;
if(pcm_init(handle, &samplerate, channels, &frames)) return NULL;
return new Sink(handle, samplerate, channels, frames);