mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-12 16:46:42 +02:00
19 lines
255 B
C++
19 lines
255 B
C++
#include "pcmEncoder.h"
|
|
|
|
PcmEncoder::PcmEncoder()
|
|
{
|
|
}
|
|
|
|
|
|
double PcmEncoder::encode(Chunk* chunk)
|
|
{
|
|
/* WireChunk* wireChunk = chunk->wireChunk;
|
|
for (size_t n=0; n<wireChunk->length; ++n)
|
|
wireChunk->payload[n] *= 1;
|
|
*/
|
|
return chunk->getDuration();
|
|
}
|
|
|
|
|
|
|
|
|