summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/chan_count.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2019-09-30 04:45:59 +0200
committerRobin Gareus <robin@gareus.org>2019-09-30 04:45:59 +0200
commit959a37144b621e88a96bfac7b3dbfdd5bba8e179 (patch)
tree364b328928724c37284d3d2244e0ca8b2d23e723 /libs/ardour/ardour/chan_count.h
parentf04092c0b16dc11c1d871bf59a8fe94c10cdb6e3 (diff)
Fix a few hundred doxygen warnings..
There are still over a hundred left, but this addresses many already. In particular @param references to undocumented parameters. Most notably in audio_backend.h
Diffstat (limited to 'libs/ardour/ardour/chan_count.h')
-rw-r--r--libs/ardour/ardour/chan_count.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/libs/ardour/ardour/chan_count.h b/libs/ardour/ardour/chan_count.h
index 7819f70612..a62d5dc70f 100644
--- a/libs/ardour/ardour/chan_count.h
+++ b/libs/ardour/ardour/chan_count.h
@@ -58,12 +58,13 @@ public:
}
/** set channel count for given type
- * @param type data type
+ * @param t data type
* @param count number of channels
*/
void set(DataType t, uint32_t count) { assert(t != DataType::NIL); _counts[t] = count; }
+
/** query channel count for given type
- * @param type data type
+ * @param t data type
* @returns channel count for given type
*/
uint32_t get(DataType t) const { assert(t != DataType::NIL); return _counts[t]; }
@@ -74,6 +75,7 @@ public:
* @returns number of audio channels
*/
inline uint32_t n_audio() const { return _counts[DataType::AUDIO]; }
+
/** set number of audio channels
* @param a number of audio channels
*/
@@ -83,6 +85,7 @@ public:
* @returns number of midi channels
*/
inline uint32_t n_midi() const { return _counts[DataType::MIDI]; }
+
/** set number of audio channels
* @param m number of midi channels
*/