mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-10 04:30:12 +02:00
Mention that busses and channels are zero indexed
This commit is contained in:
@@ -125,7 +125,7 @@ class AudioShmBuffer {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Get a pointer to the part of the buffer where this input audio channel is
|
* Get a pointer to the part of the buffer where this input audio channel is
|
||||||
* stored in.
|
* stored in. Both the bus and the channel indices start at zero.
|
||||||
*/
|
*/
|
||||||
template <typename T>
|
template <typename T>
|
||||||
T* input_channel_ptr(const uint32_t bus, const uint32_t channel) {
|
T* input_channel_ptr(const uint32_t bus, const uint32_t channel) {
|
||||||
@@ -135,7 +135,7 @@ class AudioShmBuffer {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Get a pointer to the part of the buffer where this output audio channel
|
* Get a pointer to the part of the buffer where this output audio channel
|
||||||
* is stored in.
|
* is stored in. Both the bus and the channel indices start at zero.
|
||||||
*/
|
*/
|
||||||
template <typename T>
|
template <typename T>
|
||||||
T* output_channel_ptr(const uint32_t bus, const uint32_t channel) {
|
T* output_channel_ptr(const uint32_t bus, const uint32_t channel) {
|
||||||
|
|||||||
Reference in New Issue
Block a user