Home
last modified time | relevance | path

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

/system/media/audio_utils/include/audio_utils/
Dsndfile.h46 typedef struct SNDFILE_ SNDFILE; typedef
63 SNDFILE *sf_open(const char *path, int mode, SF_INFO *info);
66 void sf_close(SNDFILE *handle);
72 sf_count_t sf_readf_short(SNDFILE *handle, int16_t *ptr, sf_count_t desired);
73 sf_count_t sf_readf_float(SNDFILE *handle, float *ptr, sf_count_t desired);
74 sf_count_t sf_readf_int(SNDFILE *handle, int *ptr, sf_count_t desired);
80 sf_count_t sf_writef_short(SNDFILE *handle, const int16_t *ptr, sf_count_t desired);
81 sf_count_t sf_writef_float(SNDFILE *handle, const float *ptr, sf_count_t desired);
82 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()
516 sf_count_t sf_readf_int(SNDFILE *handle, int *ptr, sf_count_t desiredFrames) in sf_readf_int()
564 sf_count_t sf_writef_short(SNDFILE *handle, const short *ptr, sf_count_t desiredFrames) in sf_writef_short()
[all …]
/system/media/audio_utils/fuzz/sndfile_fuzzer/
Dsndfile_fuzzer.cpp62 sf_count_t sfReadfWithType(uint32_t input_format, SNDFILE *handle, in sfReadfWithType()
109 std::unique_ptr<SNDFILE, decltype(&sf_close)> handle( in LLVMFuzzerTestOneInput()
/system/chre/platform/linux/include/chre/platform/linux/
Daudio_source.h62 SNDFILE *audioFile = nullptr;
/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()