Home
last modified time | relevance | path

Searched refs:sf_open_fd (Results 1 – 16 of 16) sorted by relevance

/third_party/libsnd/tests/
Dmulti_file_test.c170 if ((sndfile = sf_open_fd (fd, SFM_READ, &sfinfo, SF_FALSE)) == NULL) in multi_file_test()
222 if ((sndfile = sf_open_fd (fd, SFM_WRITE, &sfinfo, SF_FALSE)) == NULL) in write_file_at_end()
Dstdin_test.c154 if ((file = sf_open_fd (fileno (stdin), SFM_READ, &sfinfo, SF_TRUE)) == NULL) in stdin_test()
Derror_test.c203 sndfile = sf_open_fd (fileno (file), SFM_WRITE, &sfinfo, SF_TRUE) ; in error_close_test()
Dpipe_test.tpl199 if ((outfile = sf_open_fd (pipefd [1], SFM_WRITE, psfinfo_write, SF_TRUE)) == NULL)
213 if ((infile_piped = sf_open_fd (pipefd [0], SFM_READ, psfinfo_read, SF_TRUE)) == NULL)
Dutils.tpl522 ** Need to test both sf_open() and sf_open_fd().
567 func_name = "sf_open_fd" ;
568 file = sf_open_fd (fd, mode, sfinfo, SF_TRUE) ;
/third_party/libsnd/docs/
Dembedded_files.md9 SNDFILE* sf_open_fd (int fd, int mode, SF_INFO *sfinfo, int close_desc) ;
Dapi.md36 | [sf_open_fd](#open_fd) …
189 SNDFILE* sf_open_fd (int fd, int mode, SF_INFO *sfinfo, int close_desc) ;
205 passing the file descriptor to **sf_open_fd**().
208 Every call to `sf_open_fd`() should be matched with a call to sf_close() to free
209 up memory allocated during the call to sf_open_fd().
212 **close_desc** parameter was TRUE when the sf_open_fd() function was called.
214 On success, the sf_open_fd() function returns a non-NULL pointer which should be
216 that audio file. On fail, the sf_open_fd() function returns a NULL pointer.
Dindex.md137 in sf_open_fd () function. Fix critical CMake bug leading to broken ABI on
/third_party/pulseaudio/src/pulsecore/
Dsound-file.c76 if (!(sf = sf_open_fd(fd, SFM_READ, &sfi, 1))) { in pa_sound_file_load()
Dsound-file-stream.c278 if (!(u->sndfile = sf_open_fd(fd, SFM_READ, &sfi, 1))) { in pa_play_file()
/third_party/libsnd/include/
Dsndfile.h555 SNDFILE* sf_open_fd (int fd, int mode, SF_INFO *sfinfo, int close_desc);
Dsndfile.hh234 p->sf = sf_open_fd (fd, mode, &p->sfinfo, close_desc) ; in SndfileHandle()
Dsndfile.h.in587 ** All calls to sf_open_fd() should be matched with a call to sf_close().
591 SNDFILE* sf_open_fd (int fd, int mode, SF_INFO *sfinfo, int close_desc) ;
/third_party/libsnd/
DNEWS66 * Fix bug when sf_open_fd() function sometimes leaves filehandle open, even
243 * Added new function sf_open_fd() to allow for secure opening of temporary
/third_party/pulseaudio/src/utils/
Dpacat.c1067 if (!(sndfile = sf_open_fd(mode == RECORD ? STDOUT_FILENO : STDIN_FILENO, in main()
/third_party/libsnd/src/
Dsndfile.c363 sf_open_fd (int fd, int mode, SF_INFO *sfinfo, int close_desc) in sf_open_fd() function