case ESampleType::SAMPLE_TYPE_S16_LE:
bytes_in_sample = 2;
break;
+ case ESampleType::SAMPLE_TYPE_S24_LE:
+ bytes_in_sample = 3;
+ break;
+ case ESampleType::SAMPLE_TYPE_S24_32_LE:
+ bytes_in_sample = 4;
+ break;
default:
AUDIO_IO_LOGW("As unrecognized sample type %d, let's assume S16_LE", static_cast<int>(__mSampleType));
bytes_in_sample = 2;