From 9b4325c5050f8799762f097ffe224825df64e6d0 Mon Sep 17 00:00:00 2001 From: Erik Hofman Date: Fri, 29 Jul 2016 12:35:43 +0200 Subject: [PATCH] Add get_no_tracks() --- simgear/sound/sample.hxx | 1 + 1 file changed, 1 insertion(+) 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; } /** -- 2.39.5