fix(firmware): audio logic does not use all of the available buffers (#7689)
Co-authored-by: Peter Feerick <5500713+pfeerick@users.noreply.github.com> Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Peter Feerick
Claude Sonnet 5
parent
d1b2826a91
commit
e2968ac864
+11
-5
@@ -1432,11 +1432,17 @@ void printAudioVars()
|
||||
}
|
||||
}
|
||||
|
||||
cliSerialPrint("FragmentFifo: ridx: %d, widx: %d",
|
||||
audioQueue.fragmentsFifo.ridx, audioQueue.fragmentsFifo.widx);
|
||||
cliSerialPrint("audioQueue: readIdx: %d, writeIdx: %d, full: %d",
|
||||
audioQueue.buffersFifo.readIdx, audioQueue.buffersFifo.writeIdx,
|
||||
audioQueue.buffersFifo.bufferFull);
|
||||
cliSerialPrint("FragmentFifo: ridx: %d (slot %d), widx: %d (slot %d)",
|
||||
audioQueue.fragmentsFifo.ridx,
|
||||
audioQueue.fragmentsFifo.slot(audioQueue.fragmentsFifo.ridx),
|
||||
audioQueue.fragmentsFifo.widx,
|
||||
audioQueue.fragmentsFifo.slot(audioQueue.fragmentsFifo.widx));
|
||||
cliSerialPrint("audioQueue: readIdx: %d (slot %d), writeIdx: %d (slot %d), full: %d",
|
||||
audioQueue.buffersFifo.readIdx,
|
||||
audioQueue.buffersFifo.slot(audioQueue.buffersFifo.readIdx),
|
||||
audioQueue.buffersFifo.writeIdx,
|
||||
audioQueue.buffersFifo.slot(audioQueue.buffersFifo.writeIdx),
|
||||
audioQueue.buffersFifo.full());
|
||||
|
||||
cliSerialPrint("normalContext: %u",
|
||||
(uint32_t)audioQueue.normalContext.fragment.type);
|
||||
|
||||
Reference in New Issue
Block a user