Skip to content

Selecting output stream for specific devices ? #16

@vknecht

Description

@vknecht

Hello,

my phone has an external codec for headphone and don't see how to select the correct PCM output stream on jack insertion.
I see tinyhal : adev_set_parameters 'connect=8' in logs but not sure how to manage it.
At worse, some code should be written, but maybe that's doable from XML config ?

For reference, the Linux/postmarketOS working UCM, and my current tinyhal xml & audio policy :
https://github.com/msm8916-mainline/alsa-ucm-conf/blob/master/ucm2/alcatel-idol3/HiFi.conf
https://github.com/GloDroidCommunity/qcom-msm8916-series/blob/main/aosptree/vendor/devices-community/idol347/etc/audio.idol347.xml
https://github.com/GloDroidCommunity/qcom-msm8916-series/blob/main/aosptree/vendor/devices-community/idol347/etc/audio_policy_configuration.xml

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions