Previously we were overwriting the error case with a success code further down (which is definitely not what we should be doing here).
@@ -138,6 +138,7 @@ private:
if (!audio_core.QueueBuffer(stream, tag, std::move(samples))) {
IPC::ResponseBuilder rb{ctx, 2};
rb.Push(ERR_BUFFER_COUNT_EXCEEDED);
+ return;
}