summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/sound_asset.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sound_asset.h b/src/sound_asset.h
index d41b72d5..67d3e445 100644
--- a/src/sound_asset.h
+++ b/src/sound_asset.h
@@ -88,6 +88,10 @@ public:
return _channels;
}
+ void set_sampling_rate (int s) {
+ _sampling_rate = s;
+ }
+
int sampling_rate () const {
return _sampling_rate;
}