Hi Manos,
On 29/9/23 20:59, Manos Pitsidianakis wrote:
On Fri, 29 Sep 2023 17:08, Emmanouil Pitsidianakis
wrote:
Handle output IO messages in the transmit (TX) virtqueue.
[..]
+ if (!stream->active) {
+ /* Stream has stopped, so do not perform AUD_write. */
+
On Fri, 29 Sep 2023 17:08, Emmanouil Pitsidianakis
wrote:
Handle output IO messages in the transmit (TX) virtqueue.
[..]
+if (!stream->active) {
+/* Stream has stopped, so do not perform AUD_write. */
+goto return_tx_buffer;
+}
[..]
Handle output IO messages in the transmit (TX) virtqueue.
It allocates a VirtIOSoundPCMBuffer for each IO message and copies the
data buffer to it. When the IO buffer is written to the host's sound
card, the guest will be notified that it has been consumed.
The lifetime of an IO message is:
1.