Lines Matching refs:formats
3891 /* Gets the list of formats supported by the sink. The members and idxset must
3914 /* Allows an external source to set what formats a sink supports if the sink
3915 * permits this. The function makes a copy of the formats on success. */
3916 bool pa_sink_set_formats(pa_sink *s, pa_idxset *formats) {
3918 pa_assert(formats);
3921 /* Sink supports setting formats -- let's give it a shot */
3922 return s->set_formats(s, formats);
3931 pa_idxset *formats = NULL;
3937 formats = pa_sink_get_formats(s);
3939 if (formats) {
3943 PA_IDXSET_FOREACH(finfo_device, formats, i) {
3950 pa_idxset_free(formats, (pa_free_cb_t) pa_format_info_free);
3957 /* Calculates the intersection between formats supported by the sink and
3958 * in_formats, and returns these, in the order of the sink's formats. */