diff options
Diffstat (limited to 'drumgizmo/output/alsa.cc')
-rw-r--r-- | drumgizmo/output/alsa.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drumgizmo/output/alsa.cc b/drumgizmo/output/alsa.cc index f340c30..465b006 100644 --- a/drumgizmo/output/alsa.cc +++ b/drumgizmo/output/alsa.cc @@ -187,6 +187,11 @@ void AlsaOutputEngine::post(size_t nsamples) snd_pcm_writei(handle, data.data(), nsamples); } +size_t AlsaOutputEngine::getBufferSize() const +{ + return frames; +} + size_t AlsaOutputEngine::getSamplerate() const { return srate; |