# PAL configuration
Source: [https://docs.qualcomm.com/doc/80-70014-16/topic/pal_configuration.html](https://docs.qualcomm.com/doc/80-70014-16/topic/pal_configuration.html)
Audio use cases can be configured at the PAL level using the mixer\_paths,
resourcemanager, and usecasekvmanager XML files.
## mixer\_paths XML
Mixer control is a control variable exposed from the ALSA mixer to the user space. It
allows the user space to access set and get functions and pass parameters to the
ALSA mixer.
For example, the following is the entry for enabling the mono speaker device in the
mixer\_path.xml. Whenever playback is triggered and the
device selected is speaker, the following mixer controls will be fired with the help
of the audio route helper
class.
Copy to clipboard
The name of the mixer path used by the platform will generally be
mixer\_paths\_<sound-card-name>.xml and can be found at
/etc/ directory on the target.
For example, if the sound card name on the platform is
`qcm6490-rb3-snd-card`, then the mixer path file name will be
mixer\_paths\_qcm6490\_rb3.xml.
## Resourcemanager XML
This XML file includes all possible devices, use cases, and combinations. It also
includes the various configurations, module parameters, and global parameters.
The following is an example for the entry of a speaker device in the resource manager
XML file. It will have all the configurations for the speaker device such as
back-end name, channels, sample-rate, bit-width,
etc.
out-device>
PAL_DEVICE_OUT_SPEAKER
CODEC_DMA-LPAIF_WSA-RX-0
2
2
48000
16
speaker
Copy to clipboard
## Usecasekvmanager XML
This XML file contains the GKV details for each use case. PAL uses this XML file to
retrieve the KV configuration for each use case and subsequently use that
configuration to retrieve graph information from the ACDB files. This file is
located at the /etc path on the device.
The following is an example of one stream and device graph key vector
configuration.
**Stream KV**
Copy to clipboard
**Device KV**
Copy to clipboard
**DevicePP KV**
Copy to clipboard
**Parent Topic:** [Customize](https://docs.qualcomm.com/doc/80-70014-16/topic/customize.html)
Last Published: Jul 15, 2024
[Previous Topic
Sync and compile audio components](https://docs.qualcomm.com/bundle/publicresource/80-70014-16/topics/compile_audio_components.md) [Next Topic
Debug](https://docs.qualcomm.com/bundle/publicresource/80-70014-16/topics/debug.md)