Bug#1096138: libsdl2-dev: audio capture with pulseaudio do not work

2025-02-25 Thread Petter Reinholdtsen
Thank you very much. The only use case I am aware of is whisper.cpp, where the problem has been reported over several years, but the origin seem to have been missed until last year. I do not really know much about SDL, so no idea what API clients exist, no idea if audio capture is a often used

Bug#1096138: libsdl2-dev: audio capture with pulseaudio do not work

2025-02-25 Thread Simon McVittie
Control: clone -1 -2 Control: retitle -2 libsdl3-dev: audio capture with pulseaudio does not work Control: tags -2 fixed-upstream On Tue, 25 Feb 2025 at 10:43:47 +0100, Petter Reinholdtsen wrote: > Adjusting severity as this is "a bug which has a major effect on the > usability of a package, witho

Bug#1096138: libsdl2-dev: audio capture with pulseaudio do not work

2025-02-25 Thread Petter Reinholdtsen
[Simon McVittie] > I will get to this when I get to it. I am sorry to have failed to meet > your expectations. Sure, take your time. And I can assure you that your ability to read my mind and extract information about my expectations is not very accurate. :) -- Happy hacking Petter Reinholdtsen

Bug#1096138: libsdl2-dev: audio capture with pulseaudio do not work

2025-02-25 Thread Simon McVittie
On Tue, 25 Feb 2025 at 10:43:47 +0100, Petter Reinholdtsen wrote: > Adjusting severity as this is "a bug which has a major effect on the > usability of a package, without rendering it completely unusable to > everyone", because everyone using SDL2 on Linux to get audio input is > blocked from doing

Bug#1096138: libsdl2-dev: audio capture with pulseaudio do not work

2025-02-25 Thread Petter Reinholdtsen
Control: severity -1 important Adjusting severity as this is "a bug which has a major effect on the usability of a package, without rendering it completely unusable to everyone", because everyone using SDL2 on Linux to get audio input is blocked from doing so until the fix is applied. Please let

Bug#1096138: libsdl2-dev: audio capture with pulseaudio do not work

2025-02-24 Thread Petter Reinholdtsen
The patch went into upstream SDL2 branch in https://github.com/libsdl-org/SDL/pull/12378 >. Please include it in a Debian build to unstable. -- Happy hacking Petter Reinholdtsen

Bug#1096138: libsdl2-dev: audio capture with pulseaudio do not work

2025-02-24 Thread Petter Reinholdtsen
Control: tags -1 + patch I tested whe patch with whisper-talk-llama in whisper, and it started working with this patch in place. Note, the patch can be made simpler: diff --git a/src/audio/pulseaudio/SDL_pulseaudio.c b/src/audio/pulseaudio/SDL_pulseaudio.c index 2fb2f31c6..49230b7d4 100644 ---

Bug#1096138: libsdl2-dev: audio capture with pulseaudio do not work

2025-02-24 Thread Petter Reinholdtsen
[Simon McVittie] > It would probably be useful to let upstream know that this regressed > somewhere between 2.28.0 and commit 38d11e5c: that might be helpful when > narrowing down what change caused this. It is already reported in the forwarded issue. I investigated further, and now believe the p

Bug#1096138: libsdl2-dev: audio capture with pulseaudio do not work

2025-02-24 Thread Simon McVittie
On Mon, 24 Feb 2025 at 11:31:19 +0100, Petter Reinholdtsen wrote: > [Petter Reinholdtsen] > > As in https://github.com/libsdl-org/SDL/issues/9706 >, I > > discovered this problem when trying to use whisper.cpp, and thanks to > > the example program provided there, I can confirm that the issue is wi

Bug#1096138: libsdl2-dev: audio capture with pulseaudio do not work

2025-02-24 Thread Petter Reinholdtsen
Control: found -1 2.29~git20240113~38d11e5c+dfsg-1 [Petter Reinholdtsen] > As in https://github.com/libsdl-org/SDL/issues/9706 >, I > discovered this problem when trying to use whisper.cpp, and thanks to > the example program provided there, I can confirm that the issue is with > SDL 2. I investi

Bug#1096138: libsdl2-dev: audio capture with pulseaudio do not work

2025-02-16 Thread Petter Reinholdtsen
Package: libsdl2-dev Version: 2.32.0+dfsg-1 Forwarded: https://github.com/libsdl-org/SDL/issues/9706 As in https://github.com/libsdl-org/SDL/issues/9706 >, I discovered this problem when trying to use whisper.cpp, and thanks to the example program provided there, I can confirm that the issue is