Lines Matching refs:nrSamples
1436 picoos_encoding_t * enc, picoos_uint32 * nrSamples, in picoos_readWavHeader() argument
1471 (*nrSamples) = 0; in picoos_readWavHeader()
1476 (*nrSamples) = (dataLength / 2); in picoos_readWavHeader()
1482 (*nrSamples) = dataLength; in picoos_readWavHeader()
1488 (*nrSamples) = dataLength; in picoos_readWavHeader()
1499 if (nrFileSamples != (*nrSamples)) { in picoos_readWavHeader()
1501 …PICODBG_WARN(("inconsistent number of samples in wav file: %d vs. %d",nrFileSamples,(*nrSamples))); in picoos_readWavHeader()
1502 (*nrSamples) = nrFileSamples; in picoos_readWavHeader()
1576 picoos_uint32 * nrSamples) { in picoos_sdfLoadSamples() argument
1582 if ((*nrSamples) > PICOOS_SDF_BUF_LEN) { in picoos_sdfLoadSamples()
1583 (*nrSamples) = PICOOS_SDF_BUF_LEN; in picoos_sdfLoadSamples()
1585 len = 2 * (*nrSamples); in picoos_sdfLoadSamples()
1587 (*nrSamples) = len / 2; in picoos_sdfLoadSamples()
1588 arr_conv_le_int16(sdf->bBuf, 0, (*nrSamples), sdf->buf, 0); in picoos_sdfLoadSamples()
1594 (*nrSamples) = 0; in picoos_sdfLoadSamples()
1602 picoos_uint32 * nrSamples, in picoos_sdfGetSamples() argument
1613 (*nrSamples) = 0; in picoos_sdfGetSamples()
1619 (*nrSamples) = 0; in picoos_sdfGetSamples()
1621 if (((start + (*nrSamples)) > sdFile->nrFileSamples)) { in picoos_sdfGetSamples()
1622 (*nrSamples) = (sdFile->nrFileSamples - start); in picoos_sdfGetSamples()
1631 rem = (*nrSamples); in picoos_sdfGetSamples()
1645 (*nrSamples) = j; in picoos_sdfGetSamples()
1646 done = ((*nrSamples) > 0); in picoos_sdfGetSamples()
1664 picoos_encoding_t enc, picoos_uint32 nrSamples, in picoos_writeWavHeader() argument
1701 dataLength = (bytesPerSample * nrSamples); in picoos_writeWavHeader()
1790 picoos_int32 nrSamples; in picoos_sdfFlushOutBuf() local
1793 nrSamples = sdFile->bufPos; in picoos_sdfFlushOutBuf()
1796 arr_conv_int16_le(sdFile->buf, 0, nrSamples, sdFile->bBuf, 0); in picoos_sdfFlushOutBuf()
1797 len = (nrSamples * 2); in picoos_sdfFlushOutBuf()
1799 && ((nrSamples * 2) == len); in picoos_sdfFlushOutBuf()
1804 nrSamples = 0; in picoos_sdfFlushOutBuf()
1807 sdFile->nrFileSamples = (sdFile->nrFileSamples + nrSamples); in picoos_sdfFlushOutBuf()
1824 extern picoos_bool picoos_sdfPutSamples (picoos_SDFile sdFile, picoos_uint32 nrSamples, picoos_int1… in picoos_sdfPutSamples() argument
1832 for (i = 0; i < nrSamples; i++) { in picoos_sdfPutSamples()