Audio Porting
Sound Card Device Configuration
The corresponding sound card device is configured in the following file:
text
layers/meta-qcom-hwe/recipes-kernel/linux/linux-qcom-custom/kernel-source/arch/arm64/boot/dts/qcom/qcm6490-idp.dtsdts
sound: sound {
compatible = "qcom,qcm6490-idp-sndcard";
model = "QCM6490-IDP";
};PipeWire Audio
Audio is managed with PipeWire.
Recording
bash
wpctl status
wpctl set-default <sink/source node ID>
pw-record /tmp/record.wav -vSet the recording volume:
bash
wpctl set-volume @DEFAULT_AUDIO_SOURCE@ 0.8Playback
bash
wpctl status
wpctl set-default <sink/source node ID>
pw-play /opt/test.wav -vSet the playback volume:
bash
wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.8