diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-01-28 18:17:01 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-01-28 18:17:01 +0100 |
commit | 180eacc2af8a69b8ee947750ae7708b78c499f7d (patch) | |
tree | 915875240faf34c2c0bedeef1d8e25df213a1b19 /drumgizmo/output/alsa/alsa.cc | |
parent | 6e2fb62b35b5545c866dc1acf00857e1d160ff5e (diff) |
Revert files that shouldn't have been changed in this branch...
Diffstat (limited to 'drumgizmo/output/alsa/alsa.cc')
-rw-r--r-- | drumgizmo/output/alsa/alsa.cc | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/drumgizmo/output/alsa/alsa.cc b/drumgizmo/output/alsa/alsa.cc index f9a2068..71e0c3d 100644 --- a/drumgizmo/output/alsa/alsa.cc +++ b/drumgizmo/output/alsa/alsa.cc @@ -49,7 +49,6 @@ public: void pre(size_t size); void run(int channel, sample_t* data, size_t size); void post(size_t size); - size_t bufsize(); size_t samplerate(); private: @@ -159,11 +158,6 @@ void Alsa::post(size_t size) snd_pcm_writei(handle, data, size); } -size_t Alsa::bufsize() -{ - return frames; -} - size_t Alsa::samplerate() { return srate; @@ -223,12 +217,6 @@ extern "C" { alsa->post(s); } - size_t bufsize(void *h) - { - Alsa *alsa = (Alsa*)h; - return alsa->bufsize(); - } - size_t samplerate(void *h) { Alsa *alsa = (Alsa*)h; |