Cleanups
This commit is contained in:
parent
d28ec842f3
commit
375b588847
|
@ -61,8 +61,8 @@ static void task_audio_mixer_load_free(retro_task_t *task)
|
||||||
static int cb_nbio_audio_wav_loaded(void *data, size_t len)
|
static int cb_nbio_audio_wav_loaded(void *data, size_t len)
|
||||||
{
|
{
|
||||||
nbio_handle_t *nbio = (nbio_handle_t*)data;
|
nbio_handle_t *nbio = (nbio_handle_t*)data;
|
||||||
struct nbio_audio_mixer_handle *image = nbio ?
|
struct nbio_audio_mixer_handle *image =
|
||||||
(struct nbio_audio_mixer_handle*)nbio->data : NULL;
|
(struct nbio_audio_mixer_handle*)nbio->data;
|
||||||
void *ptr = nbio_get_ptr(nbio->handle, &len);
|
void *ptr = nbio_get_ptr(nbio->handle, &len);
|
||||||
|
|
||||||
image->handle = audio_mixer_load_wav(ptr, len);
|
image->handle = audio_mixer_load_wav(ptr, len);
|
||||||
|
@ -82,8 +82,8 @@ static int cb_nbio_audio_ogg_loaded(void *data, size_t len)
|
||||||
{
|
{
|
||||||
nbio_handle_t *nbio = (nbio_handle_t*)data;
|
nbio_handle_t *nbio = (nbio_handle_t*)data;
|
||||||
struct nbio_audio_mixer_handle
|
struct nbio_audio_mixer_handle
|
||||||
*image = nbio ?
|
*image =
|
||||||
(struct nbio_audio_mixer_handle*)nbio->data : NULL;
|
(struct nbio_audio_mixer_handle*)nbio->data;
|
||||||
|
|
||||||
void *ptr = nbio_get_ptr(nbio->handle, &len);
|
void *ptr = nbio_get_ptr(nbio->handle, &len);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue