|
From: | Andrea Palmatè |
Subject: | Re: [Gnash-dev] SDL sound handler |
Date: | Fri, 12 Jun 2009 17:36:07 +0200 |
User-agent: | Thunderbird 2.0.0.21 (Windows/20090302) |
strk ha scritto:
Do you really want to know ? :)
eheh.. i'm curious.. :D
i'm trying to respect the SDL handler and use almost all functions used in that handler so the only thing to change is the handler creation, changing _sdl with _os4The code is not as mature as may look, Gnash isn't still the the shape we'd all like it to have. That said, the thread is started by the SDL sound_handler, shouldn't affect you, if you use a different sound_handler implementation.
Incidentally, if you really wanted to know, it's by current interface contract that if a sound handler can't be constructed throws an exception so the SDL sound system is initializated right then to respect that.
ok understand.
well, is not a problem for me. Since i'm spawning a new thread to process audio, i'm sending a signal to the process so it can close safely. Its's only too speed up the operation. but is not really a problem. only a question :)No necessarely a good reason not to check existance of a file, if you want to fix that look at gui/Player.cpp and move the init_sound() call after load_movie() ?
By the way.. i think i must send a private email to you since i need some info.. in a native language.. ;)
Andrea
[Prev in Thread] | Current Thread | [Next in Thread] |