Home
last modified time | relevance | path

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

/system/media/audio_utils/include/audio_utils/
Dsndfile.h36 typedef int sf_count_t; typedef
39 sf_count_t frames;
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/fuzz/sndfile_fuzzer/
Dsndfile_fuzzer.cpp62 sf_count_t sfReadfWithType(uint32_t input_format, SNDFILE *handle, in sfReadfWithType()
63 const void *ptr, sf_count_t desired) { in sfReadfWithType()
133 sf_count_t read_frame_count = 0; in LLVMFuzzerTestOneInput()
134 sf_count_t frame_count = 0; in LLVMFuzzerTestOneInput()
/system/media/audio_utils/
Dtinysndfile.c423 sf_count_t sf_readf_short(SNDFILE *handle, short *ptr, sf_count_t desiredFrames) in sf_readf_short()
472 sf_count_t sf_readf_float(SNDFILE *handle, float *ptr, sf_count_t desiredFrames) in sf_readf_float()
520 sf_count_t sf_readf_int(SNDFILE *handle, int *ptr, sf_count_t desiredFrames) in sf_readf_int()
568 sf_count_t sf_writef_short(SNDFILE *handle, const short *ptr, sf_count_t desiredFrames) in sf_writef_short()
605 sf_count_t sf_writef_float(SNDFILE *handle, const float *ptr, sf_count_t desiredFrames) in sf_writef_float()
630 sf_count_t sf_writef_int(SNDFILE *handle, const int *ptr, sf_count_t desiredFrames) in sf_writef_int()
/system/chre/platform/linux/sim/
Dplatform_audio.cc60 sf_count_t seekAmount = intervalNumSamples - audioSource->numSamples; in audioSourceCallback()
64 sf_count_t readCount = sf_read_short( in audioSourceCallback()
66 static_cast<sf_count_t>(dataEvent.sampleCount)); in audioSourceCallback()
/system/media/audio_utils/tests/
Dfifo_tests.cpp101 sf_count_t actualRead = sf_readf_short(sfin, inputBuffer.get(), sfinfoin.frames); in main()
229 sf_count_t actualWritten = sf_writef_short(sfout, outputBuffer.get(), framesRead); in main()
231 if (actualWritten != (sf_count_t) framesRead) { in main()