SDL_PauseAudio()

Hi,

I’m trying to pause/unpause audio in my media player(on linux) using
SDL_PauseAudio(x) SDL_PauseAudio(1) pauses the playback but when
SDL_PauseAudio(0) is invoked, audio is not resumed. The problem I see is
that the sdl_callback function is never called again when SDL_PauseAudio(0)
is invoked.

This same procedure works fine when I run my player on windows. Can anyone
help me out? I’m using SDL-1.2.6 on both windows and linux (and also tested
the problem with SDL-1.2.7)

Thanks,
-Mithilesh_________________________________________________________________
Get head-hunted by 10,000 recruiters. http://go.msnserver.com/IN/46246.asp
Post your CV on naukri.com today.

it can be the case that the application is exiting before the callback is
being called.

Please check.

thanks> ----- Original Message -----

From: mithi_lesh@hotmail.com (mithilesh kumar)
To:
Sent: Monday, April 05, 2004 10:33 AM
Subject: [SDL] SDL_PauseAudio()

Hi,

I’m trying to pause/unpause audio in my media player(on linux) using
SDL_PauseAudio(x) SDL_PauseAudio(1) pauses the playback but when
SDL_PauseAudio(0) is invoked, audio is not resumed. The problem I see is
that the sdl_callback function is never called again when
SDL_PauseAudio(0)
is invoked.

This same procedure works fine when I run my player on windows. Can
anyone
help me out? I’m using SDL-1.2.6 on both windows and linux (and also
tested
the problem with SDL-1.2.7)

Thanks,
-Mithilesh


Get head-hunted by 10,000 recruiters.
http://go.msnserver.com/IN/46246.asp
Post your CV on naukri.com today.


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl