diff options
| author | Anton <anton@picapica.im> | 2026-08-09 08:21:47 +0400 |
|---|---|---|
| committer | Anton <anton@picapica.im> | 2026-08-09 08:21:47 +0400 |
| commit | 32b5ae5d300a6e6ee571febd121ac985758c574e (patch) | |
| tree | 271bdcd2fe3944d80a592525bd4b19e1ca9cbcb1 /pica-client/main.cpp | |
| parent | debf41f7ee5907cbd4d75d754b18380983929d44 (diff) | |
| download | pica-pica-32b5ae5d300a6e6ee571febd121ac985758c574e.tar.gz pica-pica-32b5ae5d300a6e6ee571febd121ac985758c574e.zip | |
pica-client: add TonePlayer for classic telephony call tones
Wires ringback, busy, special-information (unreachable) and an
electromechanical-bell incoming ringtone into
AudioVideoCallController, each played on its own QThread since
TonePlayer::play() blocks. Device selection reads audio.playback_device
and audio.ring_device from Settings so it follows what's configured in
SettingsDialog.
Centralizes the FFmpeg libavdevice output driver name
(alsa/audiotoolbox/dsound) in AudioDevice::PlatformDriverName() rather
than hardcoding ALSA, so it can also back capture/playback later.
Adds toneplayer.{h,cpp} to the autotools build and adds the missing
GPL v3 header to the touched files that lacked it.
Diffstat (limited to 'pica-client/main.cpp')
0 files changed, 0 insertions, 0 deletions
