mirror of
https://github.com/openharmony/third_party_tinyalsa.git
synced 2026-07-20 18:59:49 -04:00
e125261297
pcm_writei expects size of data in frames, whereas currently size is passed as number of bytes. So convert number of bytes to frames for argument to pcm_writei. Signed-off-by: Jaikrishna Nemallapudi <jaikrishnax.nemallapudi@intel.com> Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty@intel.com>