Home
last modified time | relevance | path

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

/aosp12/system/media/audio_utils/include/audio_utils/
H A 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);
/aosp12/frameworks/av/media/codecs/amrnb/dec/test/
H A DAmrnbDecoderTest.cpp55 SNDFILE *openOutputFile(SF_INFO *sfInfo);
56 int32_t DecodeFrames(void *amrHandle, SNDFILE *outFileHandle, int32_t frameCount = INT32_MAX);
59 SNDFILE *AmrnbDecoderTest::openOutputFile(SF_INFO *sfInfo) { in openOutputFile()
64 SNDFILE *outFileHandle = sf_open(OUTPUT_FILE, SFM_WRITE, sfInfo); in openOutputFile()
68 int32_t AmrnbDecoderTest::DecodeFrames(void *amrHandle, SNDFILE *outFileHandle, in DecodeFrames()
115 SNDFILE *outFileHandle = openOutputFile(&sfInfo); in TEST_P()
138 SNDFILE *outFileHandle = openOutputFile(&sfInfo); in TEST_P()
H A Damrnbdec_test.cpp80 SNDFILE *handle = sf_open(argv[2], SFM_WRITE, &sfInfo); in main()
/aosp12/system/media/audio_utils/
H A 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 …]
/aosp12/frameworks/av/media/codecs/amrwb/dec/test/
H A DAmrwbDecoderTest.cpp58 int32_t DecodeFrames(int16_t *decoderCookie, void *decoderBuf, SNDFILE *outFileHandle,
60 SNDFILE *openOutputFile(SF_INFO *sfInfo);
63 SNDFILE *AmrwbDecoderTest::openOutputFile(SF_INFO *sfInfo) { in openOutputFile()
68 SNDFILE *outFileHandle = sf_open(OUTPUT_FILE, SFM_WRITE, sfInfo); in openOutputFile()
73 SNDFILE *outFileHandle, int32_t frameCount) { in DecodeFrames()
159 SNDFILE *outFileHandle = openOutputFile(&sfInfo); in TEST_P()
189 SNDFILE *outFileHandle = openOutputFile(&sfInfo); in TEST_P()
H A Damrwbdec_test.cpp82 SNDFILE *handle = sf_open(argv[2], SFM_WRITE, &sfInfo); in main()
/aosp12/frameworks/av/media/codecs/mp3dec/test/
H A DMp3DecoderTest.cpp60 ERROR_CODE DecodeFrames(void *decoderbuf, SNDFILE *outFileHandle, SF_INFO sfInfo,
62 SNDFILE *openOutputFile(SF_INFO *sfInfo);
65 ERROR_CODE Mp3DecoderTest::DecodeFrames(void *decoderBuf, SNDFILE *outFileHandle, SF_INFO sfInfo, in DecodeFrames()
90 SNDFILE *Mp3DecoderTest::openOutputFile(SF_INFO *sfInfo) { in openOutputFile()
95 SNDFILE *outFileHandle = sf_open(OUTPUT_FILE, SFM_WRITE, sfInfo); in openOutputFile()
130 SNDFILE *outFileHandle = openOutputFile(&sfInfo); in TEST_P()
161 SNDFILE *outFileHandle = openOutputFile(&sfInfo); in TEST_P()
H A Dmp3dec_test.cpp80 SNDFILE *handle = sf_open(argv[2], SFM_WRITE, &sfInfo); in main()
/aosp12/frameworks/av/media/libnbaio/include/media/nbaio/
H A DLibsndfileSink.h31 LibsndfileSink(SNDFILE *sndfile, const SF_INFO &sfinfo);
50 SNDFILE * mSndfile;
H A DLibsndfileSource.h32 LibsndfileSource(SNDFILE *sndfile, const SF_INFO &sfinfo, bool loop = false);
51 SNDFILE * mSndfile;
/aosp12/system/media/audio_utils/fuzz/sndfile_fuzzer/
H A 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()
/aosp12/system/chre/platform/linux/include/chre/platform/linux/
H A Daudio_source.h62 SNDFILE *audioFile = nullptr;
/aosp12/system/media/audio_utils/tests/
H A Dfifo_tests.cpp84 SNDFILE *sfin = sf_open(inputFile, SFM_READ, &sfinfoin); in main()
227 SNDFILE *sfout = sf_open(outputFile, SFM_WRITE, &sfinfoout); in main()
/aosp12/frameworks/av/media/libnbaio/
H A DLibsndfileSink.cpp26 LibsndfileSink::LibsndfileSink(SNDFILE *sndfile, const SF_INFO &sfinfo) : in LibsndfileSink()
H A DLibsndfileSource.cpp26 LibsndfileSource::LibsndfileSource(SNDFILE *sndfile, const SF_INFO &sfinfo, bool loop) : in LibsndfileSource()
/aosp12/frameworks/wilhelm/tools/permute/
H A Dpermute.c125 SNDFILE *sf_in; in permute()
256 SNDFILE *sf_out; in permute()
/aosp12/frameworks/av/media/libaudioprocessing/tests/
H A Dtest-resampler.cpp214 SNDFILE *sf = sf_open(file_in, SFM_READ, &info); in main()
507 SNDFILE *sf = sf_open(file_out, SFM_WRITE, &info); in main()
H A Dtest_utils.h276 SNDFILE *sf = sf_open(file_in, SFM_READ, &info);
H A Dtest-mixer.cpp67 SNDFILE *sf = sf_open(filename, SFM_WRITE, &info); in writeFile()
/aosp12/frameworks/wilhelm/src/
H A Dsles_allinclusive.h271 SNDFILE *mSNDFILE;
/aosp12/frameworks/wilhelm/tests/examples/
H A DslesTestRecBuffQueue.cpp67 SNDFILE *sndfile;
H A DslesTestFeedback.cpp374 SNDFILE *sndfile; in main()
/aosp12/frameworks/av/services/audioflinger/
H A DNBAIO_Tee.cpp444 SNDFILE *sf = sf_open(path.c_str(), SFM_WRITE, &info); in createInternal()
/aosp12/frameworks/wilhelm/tests/sandbox/
H A Dplaybq.cpp40 SNDFILE *sndfile;