Lines Matching refs:source_data
1722 pa_source_new_data source_data; in pa__init() local
1865 pa_source_new_data_init(&source_data); in pa__init()
1866 source_data.driver = __FILE__; in pa__init()
1867 source_data.module = m; in pa__init()
1868 if (!(source_data.name = pa_xstrdup(pa_modargs_get_value(ma, "source_name", NULL)))) in pa__init()
1869 source_data.name = pa_sprintf_malloc("%s.echo-cancel", source_master->name); in pa__init()
1870 pa_source_new_data_set_sample_spec(&source_data, &source_ss); in pa__init()
1871 pa_source_new_data_set_channel_map(&source_data, &source_map); in pa__init()
1872 pa_proplist_sets(source_data.proplist, PA_PROP_DEVICE_MASTER_DEVICE, source_master->name); in pa__init()
1873 pa_proplist_sets(source_data.proplist, PA_PROP_DEVICE_CLASS, "filter"); in pa__init()
1875 pa_proplist_sets(source_data.proplist, PA_PROP_DEVICE_INTENDED_ROLES, "phone"); in pa__init()
1877 …if (pa_modargs_get_proplist(ma, "source_properties", source_data.proplist, PA_UPDATE_REPLACE) < 0)… in pa__init()
1879 pa_source_new_data_done(&source_data); in pa__init()
1883 …if ((u->source_auto_desc = !pa_proplist_contains(source_data.proplist, PA_PROP_DEVICE_DESCRIPTION)… in pa__init()
1888 … pa_proplist_setf(source_data.proplist, PA_PROP_DEVICE_DESCRIPTION, "%s (echo cancelled with %s)", in pa__init()
1892 …u->source = pa_source_new(m->core, &source_data, (source_master->flags & (PA_SOURCE_LATENCY | PA_S… in pa__init()
1894 pa_source_new_data_done(&source_data); in pa__init()