|
NSUNI/NSLAR Library a250670
|
Functions | |
| Buffer | nnl::adpcm::Encode (const std::vector< i16 > &pcm) |
| Encodes a PCM audio buffer into ADPCM format. | |
| std::vector< i16 > | nnl::adpcm::Decode (BufferView adpcm) |
| Decodes an ADPCM audio buffer into PCM format. | |
| std::vector< i16 > nnl::adpcm::Decode | ( | BufferView | adpcm | ) |
Decodes an ADPCM audio buffer into PCM format.
This function takes an ADPCM encoded buffer and decodes it back into a vector of PCM audio samples.
| adpcm | A buffer representing the ADPCM encoded audio data. |
Encodes a PCM audio buffer into ADPCM format.
This function takes a vector of PCM audio samples and encodes it into an ADPCM buffer.
| pcm | A vector of 16-bit signed integers representing the PCM audio samples. |