mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-30 17:36:16 +02:00
Add namespace for encoder and decoder
This commit is contained in:
parent
c1a2fedd8d
commit
07e8290ee4
25 changed files with 124 additions and 38 deletions
|
@ -21,6 +21,9 @@
|
|||
#include "common/snap_exception.hpp"
|
||||
#include "common/str_compat.hpp"
|
||||
|
||||
namespace decoder
|
||||
{
|
||||
|
||||
#define ID_OPUS 0x4F505553
|
||||
|
||||
/// int: Number of samples per channel in the input signal.
|
||||
|
@ -108,3 +111,5 @@ SampleFormat OpusDecoder::setHeader(msg::CodecHeader* chunk)
|
|||
|
||||
return sample_format_;
|
||||
}
|
||||
|
||||
} // namespace decoder
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue