1
0
Fork 0
forked from suyu/suyu

Merge pull request #1719 from bunnei/hwopus-fix

hwopus: DecodeInterleavedWithPerformance: Fix ordering of output parameters.
This commit is contained in:
bunnei 2018-11-16 20:08:17 -08:00 committed by GitHub
commit 6552d75be1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -77,8 +77,8 @@ private:
IPC::ResponseBuilder rb{ctx, 6}; IPC::ResponseBuilder rb{ctx, 6};
rb.Push(RESULT_SUCCESS); rb.Push(RESULT_SUCCESS);
rb.Push<u32>(consumed); rb.Push<u32>(consumed);
rb.Push<u64>(performance);
rb.Push<u32>(sample_count); rb.Push<u32>(sample_count);
rb.Push<u64>(performance);
ctx.WriteBuffer(samples.data(), samples.size() * sizeof(s16)); ctx.WriteBuffer(samples.data(), samples.size() * sizeof(s16));
} }