Commit a9b62c64 authored by Jean-Marc Dressler's avatar Jean-Marc Dressler

Correction d'un bug dans l'audio output de beos, ce dernier causait des

plantages al�atoires au lancement (i_buffer_pos n'�tait pas initialis�).
parent 5e870913
......@@ -107,6 +107,7 @@ int aout_BeOpen( aout_thread_t *p_aout )
p_aout->p_sys->p_format->format = gs_audio_format::B_GS_S16;
p_aout->p_sys->p_format->byte_order = B_MEDIA_LITTLE_ENDIAN;
p_aout->p_sys->p_format->buffer_size = 8192;
p_aout->p_sys->i_buffer_pos = 0;
/* Allocate BPushGameSound */
p_aout->p_sys->p_sound = new BPushGameSound( 8192,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment