Searched refs:sfinfo (Results 1 - 8 of 8) sorted by relevance

/frameworks/av/media/libnbaio/
H A DLibsndfileSink.cpp26 LibsndfileSink::LibsndfileSink(SNDFILE *sndfile, const SF_INFO &sfinfo) : argument
27 NBAIO_Sink(Format_from_SR_C(sfinfo.samplerate, sfinfo.channels)),
H A DLibsndfileSource.cpp26 LibsndfileSource::LibsndfileSource(SNDFILE *sndfile, const SF_INFO &sfinfo, bool loop) : argument
27 NBAIO_Source(Format_from_SR_C(sfinfo.samplerate, sfinfo.channels)),
29 mEstimatedFramesUntilEOF(sfinfo.frames),
30 mLooping(loop && sfinfo.seekable),
/frameworks/wilhelm/src/desktop/
H A DSLSndFile.h20 extern SLboolean SndFile_IsSupported(const SF_INFO *sfinfo);
H A DSndFile.c101 SLboolean SndFile_IsSupported(const SF_INFO *sfinfo) argument
103 switch (sfinfo->format & SF_FORMAT_TYPEMASK) {
109 switch (sfinfo->format & SF_FORMAT_SUBMASK) {
116 switch (sfinfo->samplerate) {
124 switch (sfinfo->channels) {
/frameworks/av/include/media/nbaio/
H A DLibsndfileSink.h30 LibsndfileSink(SNDFILE *sndfile, const SF_INFO &sfinfo);
H A DLibsndfileSource.h31 LibsndfileSource(SNDFILE *sndfile, const SF_INFO &sfinfo, bool loop = false);
/frameworks/wilhelm/tests/sandbox/
H A Dplaybq.c44 SF_INFO sfinfo; variable
88 short *buffer = &buffers[framesPerBuffer * sfinfo.channels * which];
92 memset(buffer, 0, framesPerBuffer * sfinfo.channels * sizeof(short));
97 SLuint32 nbytes = count * sfinfo.channels * sizeof(short);
118 short *temp = (short *) malloc(READ_FRAMES * sfinfo.channels * sizeof(short));
135 ptr += actual * sfinfo.channels;
231 //memset(&sfinfo, 0, sizeof(SF_INFO));
232 sfinfo.format = 0;
233 sndfile = sf_open(filename, SFM_READ, &sfinfo);
240 const android::NBAIO_Format nbaio_format = android::Format_from_SR_C(44100, sfinfo
[all...]
H A Dplaybq.cpp44 SF_INFO sfinfo; variable
88 short *buffer = &buffers[framesPerBuffer * sfinfo.channels * which];
92 memset(buffer, 0, framesPerBuffer * sfinfo.channels * sizeof(short));
97 SLuint32 nbytes = count * sfinfo.channels * sizeof(short);
118 short *temp = (short *) malloc(READ_FRAMES * sfinfo.channels * sizeof(short));
135 ptr += actual * sfinfo.channels;
231 //memset(&sfinfo, 0, sizeof(SF_INFO));
232 sfinfo.format = 0;
233 sndfile = sf_open(filename, SFM_READ, &sfinfo);
240 const android::NBAIO_Format nbaio_format = android::Format_from_SR_C(44100, sfinfo
[all...]

Completed in 343 milliseconds