diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-09-29 09:12:11 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-09-29 09:12:11 +0100 |
| commit | 3a066cd770cd2dfc39e8d1e6cc6a5c0eec7b738d (patch) | |
| tree | cf29c1071480738e12f74a61990af6a81910cb60 /src | |
| parent | 81450a3f659c466ba178a1173fbd79465f3060d5 (diff) | |
Add set_sampling_rate.
Diffstat (limited to 'src')
| -rw-r--r-- | src/sound_asset.h | 4 |
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; } |
