Bug 90792 - Automatic profile switching
Summary: Automatic profile switching
Status: RESOLVED MOVED
Alias: None
Product: PulseAudio
Classification: Unclassified
Component: core (show other bugs)
Version: unspecified
Hardware: Other All
: medium enhancement
Assignee: pulseaudio-bugs
QA Contact: pulseaudio-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-31 13:44 UTC by Arun Raghavan
Modified: 2018-07-30 10:01 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Arun Raghavan 2015-05-31 13:44:11 UTC
It would be nice to be able to optionally switch profiles automatically based on the number of channels being played out. This requires a few pieces:

1. Detecting how many channels are actually supported: picking this information from ELD for HDMI would be nice

2. Overriding via settings: since ELD can and (afaik) does lie, we should make this an opt-in feature, and also allow user-provided overrides

3. We can then potentially have policy to switch profiles on a card based on supported channels

(1) and (2) would be generally useful for passthrough as well (detecting what compressed formats are supported by the receiver).
Comment 1 Tanu Kaskinen 2015-05-31 14:05:58 UTC
How would the proposed policy be useful? The obvious scenario is switching between e.g. 5.1 and 2.0 based on the audio content, but why not use 5.1 all the time? Or is there some other, less obvious scenario that I'm not thinking about?
Comment 2 Arun Raghavan 2015-05-31 14:25:30 UTC
Sorry, I did miss that. From IRC:

  fritsch | that way user's Dolby /PLL upmix on the AVR would work, but also their 5.1 flac

This is not strictly related, but even for passthrough, we don't open the device for a different number of channels from the profile (so you need to be on stereo mode for our current passthrough to work). I suspect the two issues would be unrelated, since we might need to change that while adding DTS-HD/Dolby TrueHD support with passthrough.
Comment 3 GitLab Migration User 2018-07-30 10:01:24 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/175.


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.