You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I’m using the audio visualizer panon. Panon uses this project to grab audio data from a monitor of the current output.
My desktop, KDE Plasma, shows a little microphone symbol when something is using a microphone or monitor. Hovering it while panon is running says “audio is using the microphone”*, with the “audio” part being pretty confusing, and possibly scary for people using panon.
I grepped your source code to find out that you hardcode this string in your _PulseAudio backend class:
Could you please make it configurable so applications using this project can tell PulseAudio their name? Optimally this would mean that multiple contexts can be created, but using pa_context_set_name for the global context is probably sufficient for most applications.
*The fact that using a microphone symbol and message is wrong when using a monitor is besides the point here, but tracked in KDE bug 410637 if anyone is interested
The text was updated successfully, but these errors were encountered:
We hat multiple contexts for a while, but they caused problems. Apparently, pulse can get rather unstable if too many contexts are created. So we'll have to make do with a single context for now.
Would you like to create a pull request for changing the context name with a global function? I am a bit weary of including new features if they are only implemented in one platform, but you have to start somewhere.
Alternatively, it might be possible to implement this in your own code, by adding a the pa_context_set_name manually with an additional _ffi.cdef and re-opening _ffi.dlopen('pulse') before using the library.
Hi, I’m using the audio visualizer panon. Panon uses this project to grab audio data from a monitor of the current output.
My desktop, KDE Plasma, shows a little microphone symbol when something is using a microphone or monitor. Hovering it while panon is running says “audio is using the microphone”*, with the “audio” part being pretty confusing, and possibly scary for people using panon.
I grepped your source code to find out that you hardcode this string in your
_PulseAudio
backend class:SoundCard/soundcard/pulseaudio.py
Line 66 in 08cb467
Could you please make it configurable so applications using this project can tell PulseAudio their name? Optimally this would mean that multiple contexts can be created, but using
pa_context_set_name
for the global context is probably sufficient for most applications.*The fact that using a microphone symbol and message is wrong when using a monitor is besides the point here, but tracked in KDE bug 410637 if anyone is interested
The text was updated successfully, but these errors were encountered: