mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-12 16:46:42 +02:00
refactoring
git-svn-id: svn://elaine/murooma/trunk@328 d8a302eb-03bc-478d-80e4-98257eca68ef
This commit is contained in:
parent
611b2a6c9f
commit
c40bfda64c
35 changed files with 192 additions and 178 deletions
|
@ -4,13 +4,13 @@
|
|||
using namespace std;
|
||||
|
||||
|
||||
FlacEncoder::FlacEncoder(const SampleFormat& format) : Encoder(format)
|
||||
FlacEncoder::FlacEncoder(const msg::SampleFormat& format) : Encoder(format)
|
||||
{
|
||||
headerChunk = new HeaderMessage("flac");
|
||||
}
|
||||
|
||||
|
||||
double FlacEncoder::encode(PcmChunk* chunk)
|
||||
double FlacEncoder::encode(msg::PcmChunk* chunk)
|
||||
{
|
||||
return chunk->duration<chronos::msec>().count();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue