[APU] Skip audio header when there is no valid input

Thanks Cancerous1/Randprint for initial reseach in this topic
This commit is contained in:
Gliniak
2021-10-18 08:50:51 +02:00
parent d6660ac391
commit f40607041b
2 changed files with 4 additions and 2 deletions

View File

@@ -134,7 +134,7 @@ class XmaContext {
public:
static const uint32_t kBytesPerPacket = 2048;
static const uint32_t kBitsPerPacket = kBytesPerPacket * 8;
static const uint32_t kBitsPerHeader = 33;
static const uint32_t kBitsPerHeader = 32;
static const uint32_t kBytesPerSample = 2;
static const uint32_t kSamplesPerFrame = 512;