Home
last modified time | relevance | path

Searched refs:has_volume (Results 1 - 9 of 9) sorted by relevance

/third_party/pulseaudio/src/modules/dbus/
H A Diface-stream.c57 bool has_volume; member
344 if (!s->has_volume) { in handle_get_volume()
376 if (!s->has_volume || !volume_writable) { in handle_set_volume()
379 if (!s->has_volume) in handle_set_volume()
537 if (s->has_volume) { in handle_get_all()
593 if (s->has_volume) { in handle_get_all()
746 if (s->type == STREAM_TYPE_PLAYBACK && s->has_volume) { in volume_changed_cb()
902 s->has_volume = pa_sink_input_is_volume_readable(sink_input); in pa_dbusiface_stream_new_playback()
904 if (s->has_volume) in pa_dbusiface_stream_new_playback()
948 s->has_volume in pa_dbusiface_stream_new_record()
[all...]
/third_party/pulseaudio/src/pulse/
H A Dintrospect.h662 int has_volume; /**< Stream has volume. If not set, then the meaning of this struct's volume member is unspecified. \since 1.0 */ member
714 int has_volume; /**< Stream has volume. If not set, then the meaning of this struct's volume member is unspecified. \since 1.0 */ member
H A Dintrospect.c1226 bool mute = false, corked = false, has_volume = false, volume_writable = true; in context_get_sink_input_info_callback() local
1247 (o->context->version >= 20 && (pa_tagstruct_get_boolean(t, &has_volume) < 0 || in context_get_sink_input_info_callback()
1259 i.has_volume = (int) has_volume; in context_get_sink_input_info_callback()
1331 bool mute = false, corked = false, has_volume = false, volume_writable = true; in context_get_source_output_info_callback() local
1352 pa_tagstruct_get_boolean(t, &has_volume) < 0 || in context_get_source_output_info_callback()
1364 i.has_volume = (int) has_volume; in context_get_source_output_info_callback()
/third_party/alsa-utils/amixer/
H A Damixer.c227 int (*has_volume)(snd_mixer_elem_t *elem); member
302 .has_volume = snd_mixer_selem_has_playback_volume,
315 .has_volume = snd_mixer_selem_has_capture_volume,
342 if (! vol_ops[dir].has_volume(elem)) in set_volume_simple()
/third_party/pulseaudio/src/modules/alsa/
H A Dalsa-mixer.h229 bool has_volume:1; member
H A Dalsa-mixer.c970 if (!p->has_volume) in pa_alsa_path_get_volume()
1327 if (!p->has_volume) in pa_alsa_path_set_volume()
1555 bool has_volume; in check_required() local
1571 has_volume = in check_required()
1575 has_volume = in check_required()
1583 (e->required == PA_ALSA_REQUIRED_VOLUME && !has_volume) || in check_required()
1587 if (e->required == PA_ALSA_REQUIRED_ANY && !(has_switch || has_volume || has_enumeration)) in check_required()
1591 (e->required_absent == PA_ALSA_REQUIRED_VOLUME && has_volume) || in check_required()
1595 if (e->required_absent == PA_ALSA_REQUIRED_ANY && (has_switch || has_volume || has_enumeration)) in check_required()
3211 if (!p->has_volume) { in pa_alsa_path_probe()
[all...]
H A Dalsa-sink.c1661 if (!u->mixer_path || !u->mixer_path->has_volume) { in mixer_volume_init()
2292 if (p->has_volume || p->has_mute) in setup_mixer()
2297 need_mixer_callback = u->mixer_path->has_volume || u->mixer_path->has_mute; in setup_mixer()
H A Dalsa-source.c1535 if (!u->mixer_path || !u->mixer_path->has_volume) { in mixer_volume_init()
1996 if (p->has_volume || p->has_mute) in setup_mixer()
2001 need_mixer_callback = u->mixer_path->has_volume || u->mixer_path->has_mute; in setup_mixer()
/third_party/pulseaudio/src/pulsecore/
H A Dprotocol-native.c3272 bool has_volume = false; in sink_input_fill_tagstruct() local
3279 has_volume = pa_sink_input_is_volume_readable(s); in sink_input_fill_tagstruct()
3280 if (has_volume) in sink_input_fill_tagstruct()
3304 pa_tagstruct_put_boolean(t, has_volume); in sink_input_fill_tagstruct()
3315 bool has_volume = false; in source_output_fill_tagstruct() local
3322 has_volume = pa_source_output_is_volume_readable(s); in source_output_fill_tagstruct()
3323 if (has_volume) in source_output_fill_tagstruct()
3346 pa_tagstruct_put_boolean(t, has_volume); in source_output_fill_tagstruct()

Completed in 29 milliseconds