From ba2bdb8977e708903ba611331e4d14de420e45b9 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Fri, 3 Oct 2014 14:02:46 +0200 Subject: New aiorecord/aioplay stub programs. --- src/device.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3