mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-10 15:46:42 +02:00
optimizations
git-svn-id: svn://elaine/murooma/trunk@52 d8a302eb-03bc-478d-80e4-98257eca68ef
This commit is contained in:
parent
7228f5565b
commit
f444f63d25
2 changed files with 3 additions and 3 deletions
|
@ -211,8 +211,8 @@ static int patestCallback( const void *inputBuffer, void *outputBuffer,
|
|||
|
||||
for( i=0; i<framesPerBuffer; i++)
|
||||
{
|
||||
*out++ = (chunk->payload[4*i+1]*256) + chunk->payload[4*i+0];
|
||||
*out++ = (chunk->payload[4*i+3]*256) + chunk->payload[4*i+2];
|
||||
*out++ = (chunk->payload[4*i+1] << 8) + chunk->payload[4*i+0];
|
||||
*out++ = (chunk->payload[4*i+3] << 8) + chunk->payload[4*i+2];
|
||||
}
|
||||
delete chunk;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue