Home
last modified time | relevance | path

Searched refs:SNDFILE (Results 1 – 3 of 3) sorted by relevance

/system/media/audio_utils/include/audio_utils/
Dsndfile.h44 typedef struct SNDFILE_ SNDFILE; typedef
61 SNDFILE *sf_open(const char *path, int mode, SF_INFO *info);
64 void sf_close(SNDFILE *handle);
70 sf_count_t sf_readf_short(SNDFILE *handle, int16_t *ptr, sf_count_t desired);
71 sf_count_t sf_readf_float(SNDFILE *handle, float *ptr, sf_count_t desired);
72 sf_count_t sf_readf_int(SNDFILE *handle, int *ptr, sf_count_t desired);
78 sf_count_t sf_writef_short(SNDFILE *handle, const int16_t *ptr, sf_count_t desired);
79 sf_count_t sf_writef_float(SNDFILE *handle, const float *ptr, sf_count_t desired);
80 sf_count_t sf_writef_int(SNDFILE *handle, const int *ptr, sf_count_t desired);
/system/media/audio_utils/
Dtinysndfile.c65 static SNDFILE *sf_open_read(const char *path, SF_INFO *info) in sf_open_read()
75 SNDFILE *handle = (SNDFILE *) malloc(sizeof(SNDFILE)); in sf_open_read()
297 static SNDFILE *sf_open_write(const char *path, SF_INFO *info) in sf_open_write()
367 SNDFILE *handle = (SNDFILE *) malloc(sizeof(SNDFILE)); in sf_open_write()
377 SNDFILE *sf_open(const char *path, int mode, SF_INFO *info) in sf_open()
398 void sf_close(SNDFILE *handle) in sf_close()
419 sf_count_t sf_readf_short(SNDFILE *handle, short *ptr, sf_count_t desiredFrames) in sf_readf_short()
468 sf_count_t sf_readf_float(SNDFILE *handle, float *ptr, sf_count_t desiredFrames) in sf_readf_float()
519 sf_count_t sf_readf_int(SNDFILE *handle, int *ptr, sf_count_t desiredFrames) in sf_readf_int()
570 sf_count_t sf_writef_short(SNDFILE *handle, const short *ptr, sf_count_t desiredFrames) in sf_writef_short()
[all …]
/system/media/audio_utils/tests/
Dfifo_tests.cpp84 SNDFILE *sfin = sf_open(inputFile, SFM_READ, &sfinfoin); in main()
227 SNDFILE *sfout = sf_open(outputFile, SFM_WRITE, &sfinfoout); in main()