pilotclient icon indicating copy to clipboard operation
pilotclient copied to clipboard

Many audio streams on audio systems that allow stream routing

Open jonaseberle opened this issue 3 years ago • 1 comments

On Linux (pusleaudio/pipewire) we see many audio streams from Swift:

image

I would believe the same is the case on Mac/CoreAudio? Since I've seen Windows users ask for in-app routing, I believe they don't see each stream? @FlyingFoxVATSIM

  1. Could we name them appropriately? (E.g. "Swift PTT click")
  2. Is this flexibility really needed? Couldn't we reuse some streams and get rid of the rest? "Swift COM1", "Swift COM2", "Swift sound effects" would be sufficient IMHO.

jonaseberle avatar Feb 23 '22 14:02 jonaseberle

The majority of these streams are generated by the QSoundEffect's within the CNotificationPlayer. A distinct stream is created for each QSoundEffect. It appears that the names of these streams are hardcoded by Qt [1].

With Qt6, some changes happened in this area. Maybe upgrading to Qt6 would fix this in the future (allow grouping and/or renaming of Pulse streams).

[1] https://github.com/qt/qtmultimedia/blob/b4d58d8921d6d1c937b5e708e257e2a07a0c5dc4/src/multimedia/audio/qsoundeffect_pulse_p.cpp#L740-L741

ltoenning avatar Nov 06 '23 22:11 ltoenning