diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-07-26 22:17:58 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-07-26 22:17:58 +0100 |
| commit | 4928ece9b10df775ab3003c024f52bdd30d8f591 (patch) | |
| tree | 6a0b3c008c33386e2d2ebae4b9aa59ea83149cee /src/lib/util.cc | |
| parent | 466037c8c1cd4bdb07b959b844e83a511b3bfcfa (diff) | |
Implemented but faulty.
Diffstat (limited to 'src/lib/util.cc')
| -rw-r--r-- | src/lib/util.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/lib/util.cc b/src/lib/util.cc index 450ba5b8e..9896bff60 100644 --- a/src/lib/util.cc +++ b/src/lib/util.cc @@ -509,3 +509,13 @@ md5_digest (string file) return s.str (); } + +int +dcp_audio_sample_rate (int fs) +{ + if (fs <= 48000) { + return 48000; + } + + return 96000; +} |
