]> git.mxchange.org Git - simgear.git/commitdiff
Add get_no_tracks()
authorErik Hofman <erik@ehofman.com>
Fri, 29 Jul 2016 10:35:43 +0000 (12:35 +0200)
committerRoland Haeder <roland@mxchange.org>
Sat, 13 Aug 2016 08:21:16 +0000 (10:21 +0200)
simgear/sound/sample.hxx

index 0efb7d320e89167a2ef4e67c23cd70a26df6e6a6..4134e9d31a323b9cd3dae751bd326d2b5737afb1 100644 (file)
@@ -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; }
 
 
     /**