From 2ac0f63707007de0e2f0b2617f6c96eefc78729b Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Fri, 3 Oct 2014 14:03:37 +0200 Subject: New aiorecord/aioplay stub programs. --- src/device.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/device.cc') diff --git a/src/device.cc b/src/device.cc index e388c75..e5ffc03 100644 --- a/src/device.cc +++ b/src/device.cc @@ -235,7 +235,7 @@ Source *Device::getSource(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 Source(handle, samplerate, channels, frames); -- cgit v1.2.3