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