Chris@41: Chris@41: Chris@41: Chris@41:
Chris@41:
Chris@41: Chris@41: Chris@41: Chris@41: |
Chris@41:
Chris@41:
Chris@41:
Chris@41:
Chris@41:
Chris@41:
Chris@41:
Chris@41: Applications Programming InterfaceChris@41:Chris@41: The publically callable functions of libsamplerate are all listed in the Chris@41: <samplerate.h> header file. Chris@41: In order to use any of the functionality of libsamplerate, you need to add Chris@41: Chris@41:Chris@41: #include <samplerate.h> Chris@41:Chris@41: Chris@41: to the top of any function that call any of the following functions. Chris@41: You will also need to link you binary with the libsamplerate library. Chris@41: Chris@41:Chris@41: The API allows three methods for accessing the capabilies of the library: Chris@41: Chris@41:
Chris@41: NB : All three access methods are able to process multi channel interleaved Chris@41: data. Chris@41: Chris@41: Chris@41:Chris@41: The parts of the API which are common to all three interfaces are: Chris@41: Chris@41:
Chris@41: All three versions of the API are restricted to operating on buffers of ISO C Chris@41: Standard float data. Chris@41: However, there are two Chris@41: auxillary functions Chris@41: for converting arrays of float data to and from short data. Chris@41: Chris@41: Chris@41:Chris@41: Note: The tests/ and examples/ directories of the source code Chris@41: distribution contain numerous example programs showing the use of the library. Chris@41: Chris@41: Chris@41: Chris@41: Chris@41: Chris@41: Chris@41: |