rl_sound_stop_ogg now calls the stop callback

This commit is contained in:
Andre Leiradella 2015-05-07 00:14:39 -03:00
parent 355e2e9a12
commit 315b755a18

View File

@ -226,6 +226,11 @@ void rl_sound_stop_ogg( void )
stb_vorbis_close( ogg_stream );
rl_free( ogg_alloc.alloc_buffer );
if ( ogg_stop_cb )
{
ogg_stop_cb( NULL );
}
ogg_stream = NULL;
}
}