Lines Matching refs:master
41 "master=<name of sink to remap> "
62 "master",
90 /* Get the latency of the master sink */
128 * of the master sink to make sure we are heard immediately */
162 /* Just hand this one over to the master sink */
290 * to the master. */
336 pa_sink *master;
348 if (!(master = pa_namereg_get(m->core, pa_modargs_get_value(ma, "master", NULL), PA_NAMEREG_SINK))) {
353 ss = master->sample_spec;
354 sink_map = master->channel_map;
362 pa_log("Invalid master channel map");
371 if (pa_channel_map_equal(&stream_map, &master->channel_map))
393 sink_data.name = pa_sprintf_malloc("%s.remapped", master->name);
396 pa_proplist_sets(sink_data.proplist, PA_PROP_DEVICE_MASTER_DEVICE, master->name);
408 k = pa_proplist_gets(master->proplist, PA_PROP_DEVICE_DESCRIPTION);
409 pa_proplist_setf(sink_data.proplist, PA_PROP_DEVICE_DESCRIPTION, "Remapped %s", k ? k : master->name);
412 u->sink = pa_sink_new(m->core, &sink_data, master->flags & (PA_SINK_LATENCY|PA_SINK_DYNAMIC_LATENCY));
427 pa_sink_set_asyncmsgq(u->sink, master->asyncmsgq);
433 pa_sink_input_new_data_set_sink(&sink_input_data, master, false, true);
464 * input is attached to the master. */