diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-10-03 14:02:46 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-10-03 14:02:46 +0200 |
commit | ba2bdb8977e708903ba611331e4d14de420e45b9 (patch) | |
tree | bc9d27f4e0c83ecf5f7ba10a2968ead1cfdda1d9 | |
parent | 8e417cccb983d202fa00782565725bbf98ec4fca (diff) |
New aiorecord/aioplay stub programs.
-rw-r--r-- | src/device.cc | 2 |
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); |