| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| | |
|
| |
|
|
| |
calls instead
|
| | |
|
| |
|
|
| |
cancellation
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The branch added FFmpeg, speexdsp, ALSA, libpulse and VAAPI to the
client's dependencies, none of which were in debian/control. Add them,
along with pkg-config, sqlite3 and zlib1g-dev, which configure has
always needed but which used to be pulled in indirectly.
VAAPI, its X11 rendering path and PulseAudio device enumeration are
autodetected, so a missing build dependency would have quietly produced
a package without them - ask for all three explicitly in debian/rules
now that they are guaranteed to be installed.
Package names are as found in Ubuntu 22.04, 24.04 and 26.04 and in
Debian 13; Ubuntu 20.04 is not covered, it has no libegl-dev.
Also bump the version to 0.9.0dev, in configure.ac and in the macOS
bundle. The two version keys of Info.plist stay numeric because Launch
Services will not take anything else.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BQci8cPPnyCde7qQX1jaN5
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PlatformDriverName() now takes a direction, and answers with one of two kinds
of name. A bare one - "alsa", "pulse", "oss" - is an FFmpeg libavdevice driver
opened the way everything else here is opened. One prefixed "platform-" is not
an FFmpeg driver at all: what follows names a platform audio API the caller
drives itself through NativeAudioBackend.
Windows and macOS take the second route, because both provide acoustic echo
cancellation but only to streams that declare themselves part of a voice call
- AudioCategory_Communications on WASAPI, the VoiceProcessingIO audio unit on
CoreAudio - and libavdevice's wrappers have no way to ask for either. Doing our
own cancelling on platforms that would have done it better below us is not a
trade worth making.
Where the platform will not do it, speexdsp does: one EchoCanceller per call,
shared by both directions through a QSharedPointer, since the call is torn down
without joining either audio thread. Playback feeds it the far end as it hands
it to the device; capture subtracts before encoding. Alignment is left to the
FIFO - in steady state its backlog settles at the sound card's buffer depth,
which is also how far ahead of the speaker the playback side runs, leaving only
the room for the filter tail to model. Measured 27 dB ERLE on a 60 ms echo with
1.6 dB of loss on speech when nothing is playing.
On macOS the canceller is a single audio unit that renders and captures at
once, so both directions share one refcounted instance. Ringtones deliberately
get a plain HALOutput unit instead - opening a voice unit to play a bell would
switch the microphone on and prompt for permission.
Linux gains a choice of alsa or pulse, with PulseAudio device enumeration
through libpulse when configure finds it.
Info.plist gains NSMicrophoneUsageDescription and NSCameraUsageDescription.
Without them macOS 10.14 and later kills the process on first use of the
microphone or camera rather than asking, so calls did not merely fail, they
took the application with them.
Two things fixed along the way that were not about echo at all: the settings
dialog's microphone test paced playback by counting timer ticks, which on
Windows meant a 20 ms packet every ~31 ms because the system timer granularity
is 15.6 ms - the recording came out slowed down and chopped up. It now paces
against a QElapsedTimer. And chooseEncoderSampleFmt() uses
avcodec_get_supported_config() where available, the AVCodec format arrays it
replaced having been removed in FFmpeg 9.
Only the Linux paths are verified here; the Windows and macOS backends compile
to nothing on this machine and have been reviewed by hand.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CBqDgvq3Ty6C6BjLFH16bw
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
reference to rpl_malloc' and 'rpl_realloc' errors on cross compilation
|
| | |
|
| |
|
|
| |
handled by distro packaging
|
| | |
|
| | |
|
| |\ |
|
| | | |
|
| | | |
|
| | | |
|
| |/
|
|
| |
in order to prevent using Qt5 version of these tools
|
| |
|
|
| |
git-svn-id: svn://localhost/project_picapica/trunk@324 fb96df88-216d-11de-830c-f3023f12d8ac
|
| |
|
|
| |
git-svn-id: svn://localhost/project_picapica/trunk@322 fb96df88-216d-11de-830c-f3023f12d8ac
|
| |
|
|
|
|
| |
support for bidirectional sending and receiving two files simultaneously, file operations (open, read, write) are handled inside PICA_client instead of caller functions
git-svn-id: svn://localhost/project_picapica/trunk@300 fb96df88-216d-11de-830c-f3023f12d8ac
|
| |
|
|
| |
git-svn-id: svn://localhost/project_picapica/trunk@296 fb96df88-216d-11de-830c-f3023f12d8ac
|
| |
|
|
|
|
| |
instead of sending CSR to certificate server
git-svn-id: svn://localhost/project_picapica/trunk@271 fb96df88-216d-11de-830c-f3023f12d8ac
|
| |
|
|
| |
git-svn-id: svn://localhost/project_picapica/trunk@258 fb96df88-216d-11de-830c-f3023f12d8ac
|
| |
|
|
| |
git-svn-id: svn://localhost/project_picapica/trunk@252 fb96df88-216d-11de-830c-f3023f12d8ac
|
| |
|
|
| |
git-svn-id: svn://localhost/project_picapica/trunk@250 fb96df88-216d-11de-830c-f3023f12d8ac
|
| |
|
|
| |
git-svn-id: svn://localhost/project_picapica/trunk@215 fb96df88-216d-11de-830c-f3023f12d8ac
|
| |
|
|
| |
git-svn-id: svn://localhost/project_picapica/trunk@214 fb96df88-216d-11de-830c-f3023f12d8ac
|
| |
|
|
| |
git-svn-id: svn://localhost/project_picapica/trunk@199 fb96df88-216d-11de-830c-f3023f12d8ac
|
| |
|
|
| |
git-svn-id: svn://localhost/project_picapica/trunk@197 fb96df88-216d-11de-830c-f3023f12d8ac
|
| |
|
|
|
|
| |
included in dist
git-svn-id: svn://localhost/project_picapica/trunk@189 fb96df88-216d-11de-830c-f3023f12d8ac
|
| |
|
|
| |
git-svn-id: svn://localhost/project_picapica/trunk@185 fb96df88-216d-11de-830c-f3023f12d8ac
|
| |
|
|
| |
git-svn-id: svn://localhost/project_picapica/trunk@184 fb96df88-216d-11de-830c-f3023f12d8ac
|
| |
|
|
| |
git-svn-id: svn://localhost/project_picapica/trunk@183 fb96df88-216d-11de-830c-f3023f12d8ac
|
| |
|
|
| |
git-svn-id: svn://localhost/project_picapica/trunk@178 fb96df88-216d-11de-830c-f3023f12d8ac
|
| |
|
|
| |
git-svn-id: svn://localhost/project_picapica/trunk@177 fb96df88-216d-11de-830c-f3023f12d8ac
|
| |
|
|
| |
git-svn-id: svn://localhost/project_picapica/trunk@174 fb96df88-216d-11de-830c-f3023f12d8ac
|
| |
|
|
| |
git-svn-id: svn://localhost/project_picapica/trunk@169 fb96df88-216d-11de-830c-f3023f12d8ac
|