mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-17 11:06:16 +02:00
pcmEncoder
git-svn-id: svn://elaine/murooma/trunk@214 d8a302eb-03bc-478d-80e4-98257eca68ef
This commit is contained in:
parent
65d8edf434
commit
9ceb6b3533
4 changed files with 39 additions and 2 deletions
18
server/pcmEncoder.cpp
Normal file
18
server/pcmEncoder.cpp
Normal file
|
@ -0,0 +1,18 @@
|
|||
#include "pcmEncoder.h"
|
||||
|
||||
PcmEncoder::PcmEncoder()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
void PcmEncoder::encode(Chunk* chunk)
|
||||
{
|
||||
WireChunk* wireChunk = chunk->wireChunk;
|
||||
for (size_t n=0; n<wireChunk->length; ++n)
|
||||
wireChunk->payload[n] *= 1.5;
|
||||
// return chunk;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue