Searched defs:sfinfo (Results 1 - 2 of 2) sorted by relevance

/system/media/opensles/libopensles/
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) {
/system/media/opensles/tests/sandbox/
H A Dplaybq.c36 SF_INFO sfinfo; variable
46 short *buffer = &buffers[framesPerBuffer * sfinfo.channels * which];
52 SLresult result = (*bufq)->Enqueue(bufq, buffer, count * sfinfo.channels *
88 //memset(&sfinfo, 0, sizeof(SF_INFO));
89 sfinfo.format = 0;
90 sndfile = sf_open(filename, SFM_READ, &sfinfo);
97 switch (sfinfo.channels) {
102 fprintf(stderr, "unsupported channel count %d\n", sfinfo.channels);
105 switch (sfinfo.samplerate) {
117 fprintf(stderr, "unsupported sample rate %d\n", sfinfo
[all...]

Completed in 3 milliseconds