Home
last modified time | relevance | path

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

/frameworks/av/media/libnbaio/
DLibsndfileSource.cpp26 LibsndfileSource::LibsndfileSource(SNDFILE *sndfile, const SF_INFO &sfinfo, bool loop) : in LibsndfileSource() argument
27 NBAIO_Source(Format_from_SR_C(sfinfo.samplerate, sfinfo.channels)), in LibsndfileSource()
29 mEstimatedFramesUntilEOF(sfinfo.frames), in LibsndfileSource()
30 mLooping(loop && sfinfo.seekable), in LibsndfileSource()
DLibsndfileSink.cpp26 LibsndfileSink::LibsndfileSink(SNDFILE *sndfile, const SF_INFO &sfinfo) : in LibsndfileSink() argument
27 NBAIO_Sink(Format_from_SR_C(sfinfo.samplerate, sfinfo.channels)), in LibsndfileSink()
/frameworks/wilhelm/tests/sandbox/
Dplaybq.cpp41 SF_INFO sfinfo; variable
246 sfinfo.format = 0; in main()
247 sndfile = sf_open(filename, SFM_READ, &sfinfo); in main()
254 switch (sfinfo.channels) { in main()
259 fprintf(stderr, "unsupported channel count %d\n", sfinfo.channels); in main()
263 if (sfinfo.samplerate < 8000 || sfinfo.samplerate > 192000) { in main()
264 fprintf(stderr, "unsupported sample rate %d\n", sfinfo.samplerate); in main()
268 switch (sfinfo.format & SF_FORMAT_TYPEMASK) { in main()
272 fprintf(stderr, "unsupported format type 0x%x\n", sfinfo.format & SF_FORMAT_TYPEMASK); in main()
276 switch (sfinfo.format & SF_FORMAT_SUBMASK) { in main()
[all …]
/frameworks/wilhelm/src/desktop/
DSndFile.cpp101 SLboolean SndFile_IsSupported(const SF_INFO *sfinfo) in SndFile_IsSupported() argument
103 switch (sfinfo->format & SF_FORMAT_TYPEMASK) { in SndFile_IsSupported()
109 switch (sfinfo->format & SF_FORMAT_SUBMASK) { in SndFile_IsSupported()
116 switch (sfinfo->samplerate) { in SndFile_IsSupported()
124 switch (sfinfo->channels) { in SndFile_IsSupported()
DSLSndFile.h20 extern SLboolean SndFile_IsSupported(const SF_INFO *sfinfo);
/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);