summaryrefslogtreecommitdiff
path: root/src/Wav.cpp
diff options
context:
space:
mode:
authormilla <marc.illa@dolby.com>2021-05-26 13:59:19 +0200
committermilla <marc.illa@dolby.com>2021-06-03 14:05:45 +0200
commitfdd28f8bb3608978e75b27c5410db447396f361b (patch)
tree4fd3e9ff4fa808993214956dd5753f950a6a1e47 /src/Wav.cpp
parentf9d7fbc33aa571c547d916b145712469efd9f4b8 (diff)
Put definitions inside their corresponding namespaces
Diffstat (limited to 'src/Wav.cpp')
-rwxr-xr-xsrc/Wav.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Wav.cpp b/src/Wav.cpp
index 8f510eb..a703836 100755
--- a/src/Wav.cpp
+++ b/src/Wav.cpp
@@ -206,6 +206,9 @@ ASDCP::Wav::SimpleWaveHeader::ReadFromBuffer(const byte_t* buf, ui32_t buf_len,
//------------------------------------------------------------------------------------------
// conversion algorithms from http://www.borg.com/~jglatt/tech/aiff.htm
+namespace ASDCP {
+
+
//
void
Rat_to_extended(ASDCP::Rational rate, byte_t* buf)
@@ -256,6 +259,8 @@ extended_to_Rat(const byte_t* buf)
return ASDCP::Rational(mantissa, 1);
}
+} // namespace asdcp
+
//
void
ASDCP::AIFF::SimpleAIFFHeader::FillADesc(ASDCP::PCM::AudioDescriptor& ADesc, ASDCP::Rational PictureRate) const