apulse
apulse copied to clipboard
Enable optional SDK mode (install files required to build apps with apulse)
Hi!
These patches provide an optional SDK mode which allows to use apulse as PulseAudio replacement to build and run applications without PA installed. I'm well aware that apulse was not designed to be a drop-in replacement of PA, but for applications it already supports this mode will allow to compile and use such applications without building and installing PA. This is especially important for users building software form source, e.g. Gentoo. Of course in this mode PA and apulse can't be installed at the same time.
In this mode:
- PA headers are installed
- pkg-config files are generated and installed
- shared libraries are installed to the standard libdir (/usr/lib{,32,64}) depending on a distro and an arch.
- apulse wrapper is disabled, since libraries are in their standard paths now.
It can be enabled with -DINSTALL_SDK and is disabled by default.
Sorry for a huge delay. I tried to think about such SDK mode multiple times, but could not persuade myself that it's a good decision. Still think that's not.
I'm not going to merge it.
@bircoph, SDK mode breaks input audio in Slack:
[04/21/21, 13:39:49:709] info: [FREE-WILLY-AV] (T053GDZ6J) Chime audio video session started
[04/21/21, 13:39:49:714] info: [DEVICES] (T053GDZ6J) No audio input device found
[04/21/21, 13:39:49:714] info: [DEVICES] (T053GDZ6J) Selected audio output device id: Default, deviceId: default, deviceLabel: Default
SDK mode breaks input audio in Slack:
More details please, including full build logs of both apps. WTF is slack? Does it work for you without SDK?
SDK is needed to build applications without pulseaudio (headers, devel — varies on the distribution). It should be no difference for pre-built applications.
@bircoph, Please use this command to learn more about slack:
emerge -s net-im/slack
Yes, it works for me without SDK.
It should be no difference for pre-built applications.
But there is.
@bircoph, Please use this command to learn more about slack:
emerge -s net-im/slack
This is proprietary software, I can't fix it and will not install it due to license restrictions.
Yes, it works for me without SDK.
Patches are welcome.
@bircoph, Please use this command to learn more about slack:
emerge -s net-im/slack
This is proprietary software, I can't fix it and will not install it due to license restrictions.
And you shouldn't :)
Yes, it works for me without SDK.
Patches are welcome.
Here where you should appear with the fix.