diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-10-03 14:03:37 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-10-03 14:03:37 +0200 |
commit | 2ac0f63707007de0e2f0b2617f6c96eefc78729b (patch) | |
tree | 2b379efe999b90b9ff356dd9104a37bcd5abca25 /src/device.cc | |
parent | ba2bdb8977e708903ba611331e4d14de420e45b9 (diff) |
New aiorecord/aioplay stub programs.
Diffstat (limited to 'src/device.cc')
-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 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); |