tinycompress: compress: use int for samples in compress_get_tstamp
PATCH 1/1 tinycompress: compress: use int for samples in compress_get_tstamp
in 64bit updates we made the sample rate as 32bit explicitly, so update the library API as well
Signed-off-by Vinod Koul <[email protected]>
--- compress.c | 2 +- include/tinycompress/tinycompress.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
compress.c +1 -1
@@ -333,7 +333,7 @@ int compress_get_hpointer(struct compress *compress, }int compress_get_tstamp (struct compress *compress, -unsigned long *samples,unsigned int *sampling_rate) +unsigned int *samples,unsigned int *sampling_rate) {struct snd_compr_tstamp ktstamp;
include/tinycompress/tinycompress.h +1 -1
@@ -125,7 +125,7 @@ int compress_get_hpointer(struct compress *compress,* @sampling_rate: sampling rate of decoded samples */ int compress_get_tstamp (struct compress *compress, -unsigned long *samples,unsigned int *sampling_rate); +unsigned int *samples,unsigned int *sampling_rate);/* * compress_write: write data to the compress stream
Signature · 1 line
1.7.0.4