Lines Matching refs:formats
63 "restore_formats=<Save/restore saved formats?>");
117 pa_idxset *formats;
329 r->formats = pa_idxset_new(NULL, NULL);
333 pa_idxset_put(r->formats, f, NULL);
341 pa_idxset_free(e->formats, (pa_free_cb_t) pa_format_info_free);
360 n_formats = pa_idxset_size(e->formats);
372 PA_IDXSET_FOREACH(f, e->formats, i) {
430 pa_idxset_put(e->formats, f, NULL);
490 PA_IDXSET_FOREACH(f, e->formats, idx) {
491 pa_idxset_put(r->formats, pa_format_info_copy(f), NULL);
510 if (pa_idxset_size(a->formats) != pa_idxset_size(b->formats))
858 if (!pa_sink_set_formats(sink, e->formats))
1015 /* Write all the formats from the entry to the reply */
1016 pa_tagstruct_putu8(reply, pa_idxset_size(e->formats));
1017 PA_IDXSET_FOREACH(f, e->formats, idx) {
1089 /* Get the sink index and the number of formats from the tagstruct */
1120 /* Get the sink index and the number of formats from the tagstruct */
1144 /* Clean out any saved formats */
1145 pa_idxset_free(e->formats, (pa_free_cb_t) pa_format_info_free);
1146 e->formats = pa_idxset_new(NULL, NULL);
1149 /* Read all the formats from our tagstruct */
1158 pa_idxset_put(e->formats, f, NULL);
1167 if (pa_sink_set_formats(sink, e->formats) && perportentry_write(u, name, (sink->active_port ? sink->active_port->name : NULL), e))