projects
/
libdcp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81450a3
)
Add set_sampling_rate.
author
Carl Hetherington
<cth@carlh.net>
Sun, 29 Sep 2013 08:12:11 +0000
(09:12 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Sun, 29 Sep 2013 08:12:11 +0000
(09:12 +0100)
src/sound_asset.h
patch
|
blob
|
history
diff --git
a/src/sound_asset.h
b/src/sound_asset.h
index d41b72d5f995adc3862529f97bfa735be606d743..67d3e445f2cfb26df6233727e75c491f57acc7ff 100644
(file)
--- 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;
}