From: Erik Hofman Date: Fri, 29 Jul 2016 10:35:43 +0000 (+0200) Subject: Add get_no_tracks() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9b4325c5050f8799762f097ffe224825df64e6d0;p=simgear.git Add get_no_tracks() --- diff --git a/simgear/sound/sample.hxx b/simgear/sound/sample.hxx index 0efb7d32..4134e9d3 100644 --- a/simgear/sound/sample.hxx +++ b/simgear/sound/sample.hxx @@ -112,6 +112,7 @@ public: return (_samples * _tracks * _bits)/8; } inline size_t get_no_samples() { return _samples; } + inline size_t get_no_tracks() { return _tracks; } /**