#include <retro_common_api.h>
#include <stdint.h>
Go to the source code of this file.
◆ rwav_iterator_t
◆ rwav_state
Enumerator |
---|
RWAV_ITERATE_ERROR | |
RWAV_ITERATE_MORE | |
RWAV_ITERATE_DONE | |
RWAV_ITERATE_BUF_SIZE | |
◆ rwav_free()
◆ rwav_init()
Initializes the iterator to fill the out structure with data parsed from buf.
◆ rwav_iterate()
Parses a piece of the data. Continue calling as long as it returns RWAV_ITERATE_MORE. Stop calling otherwise, and check for errors. If RWAV_ITERATE_DONE is returned, the rwav_t structure passed to rwav_init is ready to be used. The iterator does not have to be freed.
◆ rwav_load()
Loads the entire data in one go.