summaryrefslogtreecommitdiff
path: root/src/sound_asset.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sound_asset.h')
-rw-r--r--src/sound_asset.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/sound_asset.h b/src/sound_asset.h
index e9faeb8b..f686e4bd 100644
--- a/src/sound_asset.h
+++ b/src/sound_asset.h
@@ -85,6 +85,12 @@ public:
void write_to_cpl (std::ostream& s) const;
std::list<std::string> equals (boost::shared_ptr<const Asset> other, EqualityOptions opt) const;
+
+ int channels () const {
+ return _channels;
+ }
+
+ int sampling_rate () const;
private:
void construct (sigc::slot<std::string, Channel> get_path);