Bug 91649 - RFE: Add possibility to automatically switch cards on jack detection
Summary: RFE: Add possibility to automatically switch cards on jack detection
Status: RESOLVED MOVED
Alias: None
Product: PulseAudio
Classification: Unclassified
Component: modules (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: pulseaudio-bugs
QA Contact: pulseaudio-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-15 18:19 UTC by Michał Zegan
Modified: 2018-07-30 09:36 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Michał Zegan 2015-08-15 18:19:02 UTC
Hello.

When jackdbus starts and takes card from pulseaudio, pulseaudio suspends the card, and then sinks/sources are loaded.
It would be very useful if after that happened, all applications using the taken card would automatically switch to jack sources/sinks.
This would be very useful in case of people that are for example blind, require sound card to use a computer, but do not use a separate card for jack for any reason.
Comment 1 Raymond 2015-08-16 03:53:47 UTC
those pulseaudio client can only connect to pulseaudio server

it is unlikely to change all application to use jackd instead of pulseaudio

as pulseaudio server is still running but only release one card to jackd


if pulseaudio can be start and shutdown by systemd as a service, this mean pulseaudio should not auto spwan
Comment 2 Michał Zegan 2015-08-16 11:32:45 UTC
Actually pulseaudio itself adds jack sink/source when jack takes the card, but the original (taken) card is suspended and applications connected to pulseaudio previously routed to the original card are not switched to jack sink/source
Comment 3 Raymond 2015-08-17 01:39:29 UTC
you have to provide pulseaudio verbose log to show how jackdbus request pulseaudio to release the card when other application is still using the card

your jackd server need to open the card exclusively when pulseaudio is not using the card
Comment 5 GitLab Migration User 2018-07-30 09:36:21 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/45.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.