Lines Matching defs:mapping
1965 static int jack_probe(pa_alsa_jack *j, pa_alsa_mapping *mapping, snd_mixer_t *m) {
1974 if (!mapping) {
1976 * happen. At the time of writing, mapping can only be NULL when
1979 * never be called with a NULL mapping. */
1980 pa_log("Jack %s: append_pcm_to_name is set, but mapping is NULL. Can't use this jack.", j->name);
1984 new_name = pa_sprintf_malloc("%s,pcm=%i Jack", j->name, mapping->hw_device_index);
3166 int pa_alsa_path_probe(pa_alsa_path *p, pa_alsa_mapping *mapping, snd_mixer_t *m, bool ignore_dB) {
3189 if (jack_probe(j, mapping, m) < 0) {
4746 /* Replace the output mapping names by the actual mappings */
4768 pa_log("Profile '%s' refers to nonexistent mapping '%s'.", p->name, *name);
4782 /* Replace the input mapping names by the actual mappings */
4804 pa_log("Profile '%s' refers to nonexistent mapping '%s'.", p->name, *name);
4884 /* Check that the dB mapping has been configured. Since "db-values" is
5024 /* If this mapping is also in the next profile, we won't close the
5043 /* If this mapping is also in the next profile, we won't close the
5080 pa_log_debug("Channel map for mapping '%s' permanently changed to '%s'", m->name,
5122 static void mapping_query_hw_device(pa_alsa_mapping *mapping, snd_pcm_t *pcm) {
5129 pa_log("Mapping %s: snd_pcm_info() failed %s: ", mapping->name, pa_alsa_strerror(r));
5138 mapping->hw_device_index = snd_pcm_info_get_device(pcm_info);