Add namespace for encoder and decoder

This commit is contained in:
badaix 2019-11-04 14:53:02 +01:00
parent c1a2fedd8d
commit 07e8290ee4
25 changed files with 124 additions and 38 deletions

View file

@ -21,6 +21,8 @@
#include "common/endian.hpp"
#include "common/snap_exception.hpp"
namespace decoder
{
#define ID_RIFF 0x46464952
#define ID_WAVE 0x45564157
@ -118,3 +120,5 @@ SampleFormat PcmDecoder::setHeader(msg::CodecHeader* chunk)
return sampleFormat;
}
} // namespace decoder