Searched refs:write_frames (Results 1 – 2 of 2) sorted by relevance
518 const size_t write_frames = bytes >> 2; in WriteData() local519 if (write_frames == 0) return 0; in WriteData()521 std::unique_ptr<int16_t[]> dst{new int16_t[write_frames]}; in WriteData()522 downmix_to_mono_i16_from_stereo_i16(dst.get(), src, write_frames); in WriteData()525 session_type_hidl_, dst.get(), write_frames * 2) * in WriteData()
554 const size_t write_frames = bytes >> 2; in WriteData() local555 if (write_frames == 0) return 0; in WriteData()557 std::unique_ptr<int16_t[]> dst{new int16_t[write_frames]}; in WriteData()558 downmix_to_mono_i16_from_stereo_i16(dst.get(), src, write_frames); in WriteData()561 write_frames * 2) * in WriteData()