Re: [PATCH] DO-NOT-MERGE: pipewire sample code

2023-03-14 Thread Volker Rümelin
Am 14.03.23 um 12:50 schrieb Dorinda Bassey: Hi Volker, Thank you for the clarification. I see the problem now. So is it safe to say that: @@ -104,8 +104,9 @@ playback_on_process(void *data)      /* calculate the total no of bytes to read data from buffer */      req = b->requested * v->frame_s

Re: [PATCH] DO-NOT-MERGE: pipewire sample code

2023-03-14 Thread Dorinda Bassey
Hi Volker, Thank you for the clarification. I see the problem now. So is it safe to say that: @@ -104,8 +104,9 @@ playback_on_process(void *data) /* calculate the total no of bytes to read data from buffer */ req = b->requested * v->frame_size; if (req == 0) { -req = 4096 *

Re: [PATCH] DO-NOT-MERGE: pipewire sample code

2023-03-13 Thread Volker Rümelin
Am 13.03.23 um 13:28 schrieb Dorinda Bassey: Hi Volker, Thanks for the patch, I've tested the patch and it works. I don't hear the choppy audio with this option "qemu-system-x86_64 -device ich9-intel-hda -device hda-duplex,audiodev=audio0 -audiodev pipewire,id=audio0,out.frequency=96000,in.fr

Re: [PATCH] DO-NOT-MERGE: pipewire sample code

2023-03-13 Thread Dorinda Bassey
Hi Volker, Thanks for the patch, I've tested the patch and it works. I don't hear the choppy audio with this option "qemu-system-x86_64 -device ich9-intel-hda -device hda-duplex,audiodev=audio0 -audiodev pipewire,id=audio0,out.frequency=96000,in.frequency=96000 " I don't understand how the re

Re: [PATCH] DO-NOT-MERGE: pipewire sample code

2023-03-11 Thread Volker Rümelin
Based-on:<20230306171020.381116-1-dbas...@redhat.com> ([PATCH v7] audio/pwaudio.c: Add Pipewire audio backend for QEMU) This is sample code for the review of the pipewire backed. The code actually works. An email with explanations for the changes will follow. Signed-off-by: Volker Rümelin ---