update samplerate to 0.2.1

This commit is contained in:
alexey.lysiuk 2021-01-25 11:30:26 +02:00
parent 5c7187bd50
commit a7c6a519e1
3 changed files with 11 additions and 4 deletions

View file

@ -3,12 +3,12 @@
** All rights reserved.
**
** This code is released under 2-clause BSD license. Please see the
** file at : https://github.com/erikd/libsamplerate/blob/master/COPYING
** file at : https://github.com/libsndfile/libsamplerate/blob/master/COPYING
*/
/*
** API documentation is available here:
** http://www.mega-nerd.com/SRC/api.html
** http://libsndfile.github.io/libsamplerate/api.html
*/
#ifndef SAMPLERATE_H
@ -25,7 +25,7 @@ typedef struct SRC_STATE_tag SRC_STATE ;
/* SRC_DATA is used to pass data to src_simple() and src_process(). */
typedef struct
{ const float *data_in ;
float *data_out ;
float *data_out ;
long input_frames, output_frames ;
long input_frames_used, output_frames_gen ;
@ -54,6 +54,12 @@ typedef long (*src_callback_t) (void *cb_data, float **data) ;
SRC_STATE* src_new (int converter_type, int channels, int *error) ;
/*
** Clone a handle : return an anonymous pointer to a new converter
** containing the same internal state as orig. Error returned in *error.
*/
SRC_STATE* src_clone (SRC_STATE* orig, int *error) ;
/*
** Initilisation for callback based API : return an anonymous pointer to the
** internal state of the converter. Choose a converter from the enums below.

Binary file not shown.

View file

@ -6,6 +6,7 @@ includedir=${prefix}/include
Name: samplerate
Description: An audio Sample Rate Conversion library
Requires:
Version: 0.1.9
Version: 0.2.1
Libs: -L${libdir} -lsamplerate
Libs.private: -lm
Cflags: -I${includedir}