/* The size in bytes of each chunk of data to read from the MP3 stream. minimp3 recommends at least 16K, but in an attempt to reduce data movement I'm making this slightly larger. */
pcmFramesRead=drmp3dec_decode_frame(&pMP3->decoder,pMP3->pData,(int)pMP3->dataSize,pPCMFrames,&info);/* <-- Safe size_t -> int conversion thanks to the check above. */
pcmFramesRead=drmp3dec_decode_frame(&pMP3->decoder,pMP3->pData+pMP3->dataConsumed,(int)pMP3->dataSize,pPCMFrames,&info);/* <-- Safe size_t -> int conversion thanks to the check above. */