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