aboutsummaryrefslogtreecommitdiff
path: root/utils/tinyplay.c
AgeCommit message (Collapse)Author
2017-04-13Fix to pass num_frames to pcm_writeiJaikrishna Nemallapudi
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>
2016-12-01Replaced old calls to pcm_read and pcm_writeTaylor Holberton
The newer pcm_readi and pcm_writei functions are now being used.
2016-11-19created cmd and ctx structures for tinyplayTaylor Holberton
2016-10-02added error if -i file-type doesn't make senseTaylor Holberton
2016-10-01checking results of fread() callsTaylor Holberton
2016-10-01put programs into utils dirTaylor Holberton