Lines Matching defs:sndfile
36 #include <sndfile.h>
45 #include <pulsecore/sndfile-util.h>
87 static SNDFILE* sndfile = NULL;
179 pa_assert(!sndfile);
188 pa_assert(sndfile);
202 if ((bytes = readf_function(sndfile, data, (sf_count_t) (data_length/k))) > 0)
206 bytes = sf_read_raw(sndfile, data, (sf_count_t) data_length);
235 pa_assert(!sndfile);
267 pa_assert(sndfile);
295 if ((bytes = writef_function(sndfile, data ? data : silence_buffer, (sf_count_t) (length/k))) > 0)
299 bytes = sf_write_raw(sndfile, data ? data : silence_buffer, (sf_count_t) length);
1079 if (!(sndfile = sf_open_fd(mode == RECORD ? STDOUT_FILENO : STDIN_FILENO,
1090 if (pa_sndfile_read_sample_spec(sndfile, &sample_spec) < 0) {
1098 if (pa_sndfile_read_channel_map(sndfile, &channel_map) < 0) {
1121 if (pa_sndfile_write_channel_map(sndfile, &channel_map) < 0)
1129 pa_sndfile_init_proplist(sndfile, sfp);
1256 if (sndfile)
1257 sf_close(sndfile);