Home
last modified time | relevance | path

Searched refs:sndfile (Results 1 – 9 of 9) sorted by relevance

/frameworks/wilhelm/tests/sandbox/
Dplaybq.cpp40 SNDFILE *sndfile; variable
109 count = sf_readf_float(sndfile, (float *) temp, READ_FRAMES); in file_reader_loop()
113 count = sf_readf_int(sndfile, (int *) temp, READ_FRAMES); in file_reader_loop()
117 count = sf_readf_short(sndfile, (short *) temp, READ_FRAMES); in file_reader_loop()
247 sndfile = sf_open(filename, SFM_READ, &sfinfo); in main()
248 if (NULL == sndfile) { in main()
487 count = sf_readf_float(sndfile, (float *) buffer, frames); in main()
490 count = sf_readf_int(sndfile, (int *) buffer, frames); in main()
493 count = sf_readf_int(sndfile, (int *) buffer, frames); in main()
497 count = sf_readf_short(sndfile, (short *) buffer, frames); in main()
[all …]
/frameworks/av/media/libnbaio/
DLibsndfileSink.cpp26 LibsndfileSink::LibsndfileSink(SNDFILE *sndfile, const SF_INFO &sfinfo) : in LibsndfileSink() argument
28 mSndfile(sndfile) in LibsndfileSink()
DLibsndfileSource.cpp26 LibsndfileSource::LibsndfileSource(SNDFILE *sndfile, const SF_INFO &sfinfo, bool loop) : in LibsndfileSource() argument
28 mSndfile(sndfile), in LibsndfileSource()
/frameworks/wilhelm/tests/examples/
DslesTestRecBuffQueue.cpp67 SNDFILE *sndfile; variable
128 (void) sf_writef_short(sndfile, (const short *) temp, frameCount); in RecBufferQueueCallback()
131 (void) sf_writef_short(sndfile, (const short *) pCntxt->pDataBase, frameCount); in RecBufferQueueCallback()
134 (void) sf_writef_int(sndfile, (const int *) pCntxt->pDataBase, frameCount); in RecBufferQueueCallback()
137 (void) sf_writef_float(sndfile, (const float *) pCntxt->pDataBase, frameCount); in RecBufferQueueCallback()
188 sndfile = sf_open(path, SFM_WRITE, &info); in TestRecToBuffQueue()
189 if (sndfile == NULL) { in TestRecToBuffQueue()
482 sf_close(sndfile); in TestRecToBuffQueue()
DslesTestFeedback.cpp374 SNDFILE *sndfile; in main() local
382 sndfile = sf_open(outFileName, SFM_WRITE, &info); in main()
383 if (sndfile != NULL) { in main()
393 sndfile = NULL; in main()
564 (void) sf_writef_short(sndfile, buffer, (sf_count_t) actual); in main()
600 if (sndfile != NULL) { in main()
609 sf_close(sndfile); in main()
610 sndfile = NULL; in main()
/frameworks/av/media/libnbaio/include/media/nbaio/
DLibsndfileSink.h31 LibsndfileSink(SNDFILE *sndfile, const SF_INFO &sfinfo);
DLibsndfileSource.h32 LibsndfileSource(SNDFILE *sndfile, const SF_INFO &sfinfo, bool loop = false);
/frameworks/av/include/media/nbaio/
DLibsndfileSink.h31 LibsndfileSink(SNDFILE *sndfile, const SF_INFO &sfinfo);
DLibsndfileSource.h32 LibsndfileSource(SNDFILE *sndfile, const SF_INFO &sfinfo, bool loop = false);