summaryrefslogtreecommitdiff
path: root/src/Wav.cpp
diff options
context:
space:
mode:
authorJohn Hurst <jhurst@cinecert.com>2021-08-26 20:42:53 -0700
committerGitHub <noreply@github.com>2021-08-26 20:42:53 -0700
commitb8c87905046423d7f04e9103ffb321a4d23870eb (patch)
tree06ca1754874997abe9279e34b275ff5159e3d927 /src/Wav.cpp
parent1ff08641353a1ff1887f223dc01310cc0167d8fe (diff)
parentfdd28f8bb3608978e75b27c5410db447396f361b (diff)
Merge pull request #10 from DolbyLaboratories/dolby/atmos_storage/asdcplib_integration/definitions_into_namespace
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