diff options
author | Christian Glöckner <cgloeckner@freenet.de> | 2016-03-29 10:09:18 +0200 |
---|---|---|
committer | André Nusser <andre.nusser@googlemail.com> | 2016-03-31 17:35:47 +0200 |
commit | 0f18336bc2a597f2625a46ea714e838d03e340b2 (patch) | |
tree | 78f328863e70a875ca35db1a64beb18fa7e437cc /plugin/drumgizmo_plugin.cc | |
parent | 53909b3a74e9c752d3405fda7bc63146b9abdc7a (diff) |
more consistent style of output engines' getters
Diffstat (limited to 'plugin/drumgizmo_plugin.cc')
-rw-r--r-- | plugin/drumgizmo_plugin.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/drumgizmo_plugin.cc b/plugin/drumgizmo_plugin.cc index b41879d..b8f8822 100644 --- a/plugin/drumgizmo_plugin.cc +++ b/plugin/drumgizmo_plugin.cc @@ -291,7 +291,7 @@ void DrumGizmoPlugin::Output::post(size_t nsamples) { } -sample_t* DrumGizmoPlugin::Output::getBuffer(int ch) +sample_t* DrumGizmoPlugin::Output::getBuffer(int ch) const { assert(plugin.output_samples); @@ -303,7 +303,7 @@ sample_t* DrumGizmoPlugin::Output::getBuffer(int ch) return (*plugin.output_samples)[ch]; } -size_t DrumGizmoPlugin::Output::getBufferSize() +size_t DrumGizmoPlugin::Output::getBufferSize() const { return plugin.getFramesize(); } |