mirror of
https://github.com/badaix/snapcast.git
synced 2025-07-22 19:07:38 +02:00
encoder
git-svn-id: svn://elaine/murooma/trunk@216 d8a302eb-03bc-478d-80e4-98257eca68ef
This commit is contained in:
parent
77826ef57a
commit
66820ec06e
3 changed files with 50 additions and 0 deletions
18
server/oggEncoder.cpp
Normal file
18
server/oggEncoder.cpp
Normal file
|
@ -0,0 +1,18 @@
|
|||
#include "oggEncoder.h"
|
||||
|
||||
OggEncoder::OggEncoder()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
void OggEncoder::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