|
@@ -26,7 +26,8 @@ extern "C" {
|
26
|
26
|
/// set p to NULL to dynamically allocate the object
|
27
|
27
|
/// fn and chIdx are optional - set fn to NULL to allocate the reader without opening a file.
|
28
|
28
|
/// If fn is valid then chIdx must also be valid.
|
29
|
|
- /// Set 'endSmpIdx' to cmInvalidIdx to not limit the range of samples returned.
|
|
29
|
+ /// Set 'endSmpIdx' to cmInvalidIdx to return the entire signal in cmAudioFileRdRead().
|
|
30
|
+ /// Set 'endSmpIdx' to 0 to return all samples between 0 and the end of the file.
|
30
|
31
|
cmAudioFileRd* cmAudioFileRdAlloc( cmCtx* c, cmAudioFileRd* p, unsigned procSmpCnt, const char* fn, unsigned chIdx, unsigned begSmpIdx, unsigned endSmpIdx );
|
31
|
32
|
cmRC_t cmAudioFileRdFree( cmAudioFileRd** p );
|
32
|
33
|
cmRC_t cmAudioFileRdOpen( cmAudioFileRd* p, unsigned procSmpCnt, const cmChar_t* fn, unsigned chIdx, unsigned begSmpIdx, unsigned endSmpIdx );
|