Lines Matching defs:sf
33 int pa_sndfile_read_sample_spec(SNDFILE *sf, pa_sample_spec *ss) {
37 pa_assert(sf);
41 if ((sf_errno = sf_command(sf, SFC_GET_CURRENT_SF_INFO, &sfi, sizeof(sfi)))) {
151 int pa_sndfile_read_channel_map(SNDFILE *sf, pa_channel_map *cm) {
183 pa_assert(sf);
187 if ((sf_errno = sf_command(sf, SFC_GET_CURRENT_SF_INFO, &sfi, sizeof(sfi)))) {
193 if (!sf_command(sf, SFC_GET_CHANNEL_MAP_INFO, channels, sizeof(channels[0]) * sfi.channels)) {
217 int pa_sndfile_write_channel_map(SNDFILE *sf, pa_channel_map *cm) {
284 pa_assert(sf);
309 if (!sf_command(sf, SFC_SET_CHANNEL_MAP_INFO, channels, sizeof(channels[0]) * cm->channels)) {
318 void pa_sndfile_init_proplist(SNDFILE *sf, pa_proplist *p) {
334 pa_assert(sf);
344 if (!(s = sf_get_string(sf, c)))
353 if ((sf_errno = sf_command(sf, SFC_GET_CURRENT_SF_INFO, &sfi, sizeof(sfi)))) {
360 if (sf_command(sf, SFC_GET_FORMAT_INFO, &fi, sizeof(fi)) == 0 && fi.name) {