da_mpg123_replace_buffer

Replace default internal buffer with user-supplied buffer. Instead of working on it's own private buffer, mpg123 will directly use the one you provide for storing decoded audio. Note that the required buffer size could be bigger than expected from output encoding if libmpg123 has to convert from primary decoder output (p.ex. 32 bit storage for 24 bit output). \param mh handle \param data pointer to user buffer \param size of buffer in bytes \return MPG123_OK on success

alias da_mpg123_replace_buffer = int function(
,
ubyte* data
,
size_t size
)

Meta