Home
last modified time | relevance | path

Searched refs:mute (Results 1 - 25 of 40) sorted by relevance

12

/third_party/node/deps/v8/third_party/test262-harness/test/
H A Dtest_test262.py72 result = mute(True)(test_suite.PrintSummary)(progress, None)
94 result = mute(True)(test_suite.PrintSummary)(progress, True)
127 result = mute(True)(test_suite.PrintSummary)(progress, None)
182 result = mute(True)(test_suite.PrintSummary)(progress, True)
201 result = mute(True)(test_suite.PrintSummary)(progress, True)
227 def mute(returns_output=False): function
244 >>> mute()(numbers)()
245 >>> list(mute(True)(numbers)())
/third_party/ffmpeg/libavdevice/
H A Dpulse_audio_enc.c52 int mute; member
104 if (s->mute < 0 || (s->mute && !i->mute) || (!s->mute && i->mute)) { in pulse_audio_sink_input_cb()
105 s->mute = i->mute; in pulse_audio_sink_input_cb()
106 avdevice_dev_to_app_control_message(h, AV_DEV_TO_APP_MUTE_STATE_CHANGED, &s->mute, sizeof(s->mute)); in pulse_audio_sink_input_cb()
[all...]
/third_party/alsa-lib/include/sound/uapi/
H A Dtlv.h22 #define SNDRV_CTL_TLVT_DB_MINMAX_MUTE 5 /* dB scale with min/max with mute */
58 #define SNDRV_CTL_TLVD_DB_SCALE_ITEM(min, step, mute) \
62 ((mute) ? SNDRV_CTL_TLVD_DB_SCALE_MUTE : 0))
63 #define SNDRV_CTL_TLVD_DECLARE_DB_SCALE(name, min, step, mute) \
65 SNDRV_CTL_TLVD_DB_SCALE_ITEM(min, step, mute) \
68 /* Accessor offsets for min, mute and step items in dB scale type TLV */
/third_party/pulseaudio/src/pulse/
H A Dintrospect.h154 * It is also possible to mute a sink or source:
275 int mute; /**< Mute switch of the sink */ member
312 /** Set the mute switch of a sink device specified by its index */
313 pa_operation* pa_context_set_sink_mute_by_index(pa_context *c, uint32_t idx, int mute, pa_context_success_cb_t cb, void *userdata);
315 /** Set the mute switch of a sink device specified by its name */
316 pa_operation* pa_context_set_sink_mute_by_name(pa_context *c, const char *name, int mute, pa_context_success_cb_t cb, void *userdata);
380 int mute; /**< Mute switch of the sink */ member
417 /** Set the mute switch of a source device specified by its index */
418 pa_operation* pa_context_set_source_mute_by_index(pa_context *c, uint32_t idx, int mute, pa_context_success_cb_t cb, void *userdata);
420 /** Set the mute switc
659 int mute; /**< Stream muted \\since 0.9.7 */ global() member
713 int mute; /**< Stream muted \\since 1.0 */ global() member
[all...]
H A Dintrospect.c160 bool mute; in context_get_sink_info_callback() local
169 mute = false; in context_get_sink_info_callback()
180 pa_tagstruct_get_boolean(t, &mute) < 0 || in context_get_sink_info_callback()
262 i.mute = (int) mute; in context_get_sink_info_callback()
440 bool mute; in context_get_source_info_callback() local
449 mute = false; in context_get_source_info_callback()
460 pa_tagstruct_get_boolean(t, &mute) < 0 || in context_get_source_info_callback()
541 i.mute = (int) mute; in context_get_source_info_callback()
1226 bool mute = false, corked = false, has_volume = false, volume_writable = true; context_get_sink_input_info_callback() local
1331 bool mute = false, corked = false, has_volume = false, volume_writable = true; context_get_source_output_info_callback() local
1468 pa_context_set_sink_mute_by_index(pa_context *c, uint32_t idx, int mute, pa_context_success_cb_t cb, void *userdata) pa_context_set_sink_mute_by_index() argument
1491 pa_context_set_sink_mute_by_name(pa_context *c, const char *name, int mute, pa_context_success_cb_t cb, void *userdata) pa_context_set_sink_mute_by_name() argument
1541 pa_context_set_sink_input_mute(pa_context *c, uint32_t idx, int mute, pa_context_success_cb_t cb, void *userdata) pa_context_set_sink_input_mute() argument
1617 pa_context_set_source_mute_by_index(pa_context *c, uint32_t idx, int mute, pa_context_success_cb_t cb, void *userdata) pa_context_set_source_mute_by_index() argument
1640 pa_context_set_source_mute_by_name(pa_context *c, const char *name, int mute, pa_context_success_cb_t cb, void *userdata) pa_context_set_source_mute_by_name() argument
1691 pa_context_set_source_output_mute(pa_context *c, uint32_t idx, int mute, pa_context_success_cb_t cb, void *userdata) pa_context_set_source_output_mute() argument
[all...]
H A Dext-stream-restore.c123 bool mute = false; in ext_stream_restore_read_cb() local
131 pa_tagstruct_get_boolean(t, &mute) < 0) { in ext_stream_restore_read_cb()
137 i.mute = (int) mute; in ext_stream_restore_read_cb()
229 pa_tagstruct_put_boolean(t, data->mute); in pa_ext_stream_restore_write()
H A Dext-stream-restore.h43 int mute; /**< The boolean mute state of the stream when it was last seen, if applicable and saved */ member
/third_party/ffmpeg/libavresample/
H A Ddither.c44 int mute; member
77 /* mute threshold, in seconds */
179 if (state->mute > c->mute_reset_threshold) in quantize_triangular_ns()
197 if (state->mute > c->mute_dither_threshold) { in quantize_triangular_ns()
205 state->mute++; in quantize_triangular_ns()
207 state->mute = 0; in quantize_triangular_ns()
430 state->mute = c->mute_reset_threshold + 1; in ff_dither_alloc()
/third_party/alsa-lib/src/control/
H A Dtlv.c225 int min, step, mute; in snd_tlv_convert_to_dB() local
228 mute = (tlv[SNDRV_CTL_TLVO_DB_SCALE_MUTE_AND_STEP] >> 16) & 1; in snd_tlv_convert_to_dB()
229 if (mute && volume <= rangemin) in snd_tlv_convert_to_dB()
333 int min, step, max, mute; in snd_tlv_convert_from_dB() local
336 mute = tlv[SNDRV_CTL_TLVO_DB_SCALE_MUTE_AND_STEP] & 0x10000; in snd_tlv_convert_from_dB()
340 mute) in snd_tlv_convert_from_dB()
/third_party/pulseaudio/src/modules/dbus/
H A Diface-stream.c54 dbus_bool_t mute; member
423 pa_dbus_send_error(conn, msg, PA_DBUS_ERROR_NO_SUCH_PROPERTY, "Record streams don't have mute."); in handle_get_mute()
427 pa_dbus_send_basic_variant_reply(conn, msg, DBUS_TYPE_BOOLEAN, &s->mute); in handle_get_mute()
432 dbus_bool_t mute = FALSE; in handle_set_mute() local
439 dbus_message_iter_get_basic(iter, &mute); in handle_set_mute()
442 pa_dbus_send_error(conn, msg, PA_DBUS_ERROR_NO_SUCH_PROPERTY, "Record streams don't have mute."); in handle_set_mute()
446 pa_sink_input_set_mute(s->sink_input, mute, true); in handle_set_mute()
595 pa_dbus_append_basic_variant_dict_entry(&dict_iter, property_handlers[PROPERTY_HANDLER_MUTE].property_name, DBUS_TYPE_BOOLEAN, &s->mute); in handle_get_all()
788 if (s->mute != new_mute) { in mute_changed_cb()
789 s->mute in mute_changed_cb()
[all...]
H A Diface-device.c87 dbus_bool_t mute; member
514 pa_dbus_send_basic_variant_reply(conn, msg, DBUS_TYPE_BOOLEAN, &d->mute); in handle_get_mute()
519 dbus_bool_t mute = FALSE; in handle_set_mute() local
526 dbus_message_iter_get_basic(iter, &mute); in handle_set_mute()
529 pa_sink_set_mute(d->sink, mute, true); in handle_set_mute()
531 pa_source_set_mute(d->source, mute, true); in handle_set_mute()
910 pa_dbus_append_basic_variant_dict_entry(&dict_iter, property_handlers[PROPERTY_HANDLER_MUTE].property_name, DBUS_TYPE_BOOLEAN, &d->mute); in handle_get_all()
1135 if (d->mute != new_mute) { in mute_changed_cb()
1136 d->mute = new_mute; in mute_changed_cb()
1141 pa_assert_se(dbus_message_append_args(signal_msg, DBUS_TYPE_BOOLEAN, &d->mute, DBUS_TYPE_INVALI in mute_changed_cb()
[all...]
/third_party/pulseaudio/src/utils/
H A Dpactl.c95 } mute = INVALID_MUTE; variable
652 pa_json_encoder_add_member_bool(encoder, "mute", i->mute); in get_sink_info_callback()
695 pa_yes_no_localised(i->mute), in get_sink_info_callback()
837 pa_json_encoder_add_member_bool(encoder, "mute", i->mute); in get_source_info_callback()
880 pa_yes_no_localised(i->mute), in get_source_info_callback()
1360 pa_json_encoder_add_member_bool(encoder, "mute", i->mute); in get_sink_input_info_callback()
1398 pa_yes_no_localised(i->mute), in get_sink_input_info_callback()
[all...]
/third_party/pulseaudio/src/modules/
H A Dmodule-solaris.c452 bool mute; in sink_set_state_in_io_thread_cb() local
456 if (s->get_mute(s, &mute) >= 0) in sink_set_state_in_io_thread_cb()
457 pa_sink_set_mute(s, mute, false); in sink_set_state_in_io_thread_cb()
618 static int sink_get_mute(pa_sink *s, bool *mute) { in sink_get_mute() argument
632 *mute = info.output_muted; in sink_get_mute()
1105 bool mute; in pa__init() local
1107 if (u->sink->get_mute(u->sink, &mute) >= 0) in pa__init()
1108 pa_sink_set_mute(u->sink, mute, false); in pa__init()
H A Dmodule-stream-restore.c60 PA_MODULE_DESCRIPTION("Automatically restore the volume/mute/device state of streams");
224 { "mute", "b", "in" },
836 dbus_bool_t mute; in handle_entry_get_mute() local
844 mute = e->muted_valid ? e->muted : FALSE; in handle_entry_get_mute()
846 pa_dbus_send_basic_variant_reply(conn, msg, DBUS_TYPE_BOOLEAN, &mute); in handle_entry_get_mute()
853 dbus_bool_t mute; in handle_entry_set_mute() local
862 dbus_message_iter_get_basic(iter, &mute); in handle_entry_set_mute()
866 updated = !e->muted_valid || e->muted != mute; in handle_entry_set_mute()
869 e->muted = mute; in handle_entry_set_mute()
892 dbus_bool_t mute; in handle_entry_get_all() local
[all...]
/third_party/pulseaudio/src/pulsecore/
H A Dcli-command.c161 { "set-sink-mute", pa_cli_command_sink_mute, "Set the mute switch of a sink (args: index|name, bool)", 3},
162 { "set-source-mute", pa_cli_command_source_mute, "Set the mute switch of a source (args: index|name, bool)", 3},
165 { "set-sink-input-mute", pa_cli_command_sink_input_mute, "Set the mute switch of a sink input (args: index, bool)", 3},
166 { "set-source-output-mute", pa_cli_command_source_output_mute, "Set the mute switch of a source output (args: index, bool)", 3},
722 int mute; in pa_cli_command_sink_mute() local
735 pa_strbuf_puts(buf, "You need to specify a mute switc in pa_cli_command_sink_mute()
756 int mute; pa_cli_command_source_mute() local
951 int mute; pa_cli_command_sink_input_mute() local
991 int mute; pa_cli_command_source_output_mute() local
[all...]
H A Dmix.h50 bool mute);
H A Dsource.h58 typedef int (*pa_source_get_mute_cb_t)(pa_source *s, bool *mute);
188 /* If the source mute can change "spontaneously" (i.e. initiated by the
191 * changed mute either by calling pa_source_mute_changed() or by calling
200 * set the mute parameter that is passed as a reference. On failure, the
207 /* Called when the mute setting shall be changed. Called from main
344 void pa_source_new_data_set_muted(pa_source_new_data *data, bool mute);
415 void pa_source_set_mute(pa_source *source, bool mute, bool save);
H A Dsink.h57 typedef int (*pa_sink_get_mute_cb_t)(pa_sink *s, bool *mute);
220 /* If the sink mute can change "spontaneously" (i.e. initiated by the sink
222 * the sink implementation can notify about changed mute either by calling
232 * set the mute parameter that is passed as a reference. On failure, the
239 /* Called when the mute setting shall be changed. A PA_SINK_MESSAGE_SET_MUTE
410 void pa_sink_new_data_set_muted(pa_sink_new_data *data, bool mute);
492 void pa_sink_set_mute(pa_sink *sink, bool mute, bool save);
H A Dsink-input.h122 /* if true then the volume and the mute state of this sink-input
238 * mute status changes. Called from main context */
359 void pa_sink_input_new_data_set_muted(pa_sink_input_new_data *data, bool mute);
408 void pa_sink_input_set_mute(pa_sink_input *i, bool mute, bool save);
H A Dsource-output.h109 /* if true then the volume and the mute state of this source-output
201 * mute status changes. Called from main context */
295 void pa_source_output_new_data_set_muted(pa_source_output_new_data *data, bool mute);
332 void pa_source_output_set_mute(pa_source_output *o, bool mute, bool save);
H A Dsource.c121 void pa_source_new_data_set_muted(pa_source_new_data *data, bool mute) { in pa_source_new_data_set_muted() argument
125 data->muted = mute; in pa_source_new_data_set_muted()
1884 void pa_source_set_mute(pa_source *s, bool mute, bool save) { in pa_source_set_mute() argument
1892 if (mute == old_muted) { in pa_source_set_mute()
1897 s->muted = mute; in pa_source_set_mute()
1909 pa_log_debug("The mute of source %s changed from %s to %s.", s->name, pa_yes_no(old_muted), pa_yes_no(mute)); in pa_source_set_mute()
1923 bool mute; in pa_source_get_mute() local
1926 if (pa_asyncmsgq_send(s->asyncmsgq, PA_MSGOBJECT(s), PA_SOURCE_MESSAGE_GET_MUTE, &mute, 0, NULL) >= 0) in pa_source_get_mute()
1927 pa_source_mute_changed(s, mute); in pa_source_get_mute()
[all...]
H A Dsink.c131 void pa_sink_new_data_set_muted(pa_sink_new_data *data, bool mute) { in pa_sink_new_data_set_muted() argument
135 data->muted = mute; in pa_sink_new_data_set_muted()
2365 void pa_sink_set_mute(pa_sink *s, bool mute, bool save) { in pa_sink_set_mute() argument
2373 if (mute == old_muted) { in pa_sink_set_mute()
2378 s->muted = mute; in pa_sink_set_mute()
2390 pa_log_debug("The mute of sink %s changed from %s to %s.", s->name, pa_yes_no(old_muted), pa_yes_no(mute)); in pa_sink_set_mute()
2404 bool mute; in pa_sink_get_mute() local
2407 if (pa_asyncmsgq_send(s->asyncmsgq, PA_MSGOBJECT(s), PA_SINK_MESSAGE_GET_MUTE, &mute, 0, NULL) >= 0) in pa_sink_get_mute()
2408 pa_sink_mute_changed(s, mute); in pa_sink_get_mute()
[all...]
/third_party/skia/third_party/externals/oboe/apps/fxlab/app/src/main/cpp/
H A DFunctionList.h74 void mute(bool toMute) { in mute() function in FunctionList
/third_party/alsa-lib/src/topology/
H A Dctl.c322 * Parse DBScale describing min, step, mute in DB.
358 else if (strcmp(id, "mute") == 0) in tplg_parse_tlv_dbscale()
359 scale->mute = val; in tplg_parse_tlv_dbscale()
422 if (err >= 0 && scale->mute > 0) in tplg_save_tlv()
423 err = tplg_save_printf(dst, pfx, "\t\tmute %i\n", scale->mute); in tplg_save_tlv()
964 scale->mute = scalet->mute; in init_ctl_hdr()
1272 db->mute = mc->hdr.tlv.scale.mute; in tplg_decode_control_mixer1()
1273 tplg_log(tplg, 'D', pos, "mixer: dB scale TLV: min %d step %d mute in tplg_decode_control_mixer1()
[all...]
/third_party/alsa-lib/include/
H A Dtopology.h135 * mute "1"
139 * Where the meanings and values for min, step and mute are exactly the same
840 int mute; /*!< is min dB value mute ? */ member

Completed in 39 milliseconds

12