Home | History | Annotate | Download | only in audio

Lines Matching refs:mFormats

1902                     if (profile->mFormats[0] == 0) {
1924 ((profile->mFormats[0] == 0) &&
1925 (profile->mFormats.size() < 2)) ||
1926 ((profile->mFormats[0] == 0) &&
2007 if (profile->mFormats[0] == 0) {
2008 profile->mFormats.clear();
2009 profile->mFormats.add((audio_format_t)0);
3268 mFormat = profile->mFormats[0];
3576 for (i = 0; i < mFormats.size(); i++)
3578 if (mFormats[i] == format) {
3582 if (i == mFormats.size()) {
3621 for (size_t i = 0; i < mFormats.size(); i++) {
3622 snprintf(buffer, SIZE, "0x%08x", mFormats[i]);
3624 result.append(i == (mFormats.size() - 1) ? "\n" : ", ");
3787 // by convention, "0' in the first entry in mFormats indicates the supported formats
3790 profile->mFormats.add((audio_format_t)0);
3799 profile->mFormats.add(format);
3881 ALOGW_IF(profile->mFormats.size() == 0,
3886 (profile->mFormats.size() != 0)) {
3924 ALOGW_IF(profile->mFormats.size() == 0,
3929 (profile->mFormats.size() != 0)) {
4070 profile->mFormats.add(AUDIO_FORMAT_PCM_16_BIT);
4078 profile->mFormats.add(AUDIO_FORMAT_PCM_16_BIT);