diff options
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); |