#gemrb@irc.freenode.net logs for 28 Mar 2011 (GMT)

Archive Today Yesterday Tomorrow
GemRB homepage


[00:01:15] --> BaldimerBrandybo has joined #GemRb
[00:04:01] <-- PixelScum has left IRC (Ping timeout: 240 seconds)
[00:37:23] <-- Maighstir has left IRC (Quit: ~ Trillian Astra - www.trillian.im ~)
[00:44:45] --> maighstir has joined #GemRb
[00:55:52] <-- maighstir has left IRC (Quit: maighstir)
[01:25:57] <-- felixthered has left IRC (Quit: felixthered)
[07:05:31] --> lubos has joined #GemRb
[07:06:34] --> lynxlynxlynx has joined #GemRb
[07:06:34] --- ChanServ gives channel operator status to lynxlynxlynx
[07:16:14] --> adominguez has joined #GemRb
[07:22:11] --> test32894789234u has joined #GemRb
[08:54:36] <-- |Cable| has left IRC (Remote host closed the connection)
[09:01:03] <-- lubos has left IRC (Remote host closed the connection)
[10:11:40] <fuzzie> oh dear, developer mail from Nokia.
[10:12:49] <fuzzie> Boils down to "Symbian and Qt are still valuable to us, honest, because Windows Phone isn't ready for all languages/localisations yet. Also, you can still write Java for Series 40!", which is not spectacularly reassuring.
[10:16:57] <pupnik_> for every thing, there is a season
[11:28:57] --> edheldil_ has joined #GemRb
[12:09:35] <-- edheldil_ has left IRC (Read error: Operation timed out)
[12:25:17] <-- lynxlynxlynx has left IRC (Ping timeout: 252 seconds)
[12:25:42] --> edheldil_ has joined #GemRb
[12:48:19] --> lynxlynxlynx has joined #GemRb
[12:48:20] <-- lynxlynxlynx has left IRC (Changing host)
[12:48:20] --> lynxlynxlynx has joined #GemRb
[12:48:20] --- ChanServ gives channel operator status to lynxlynxlynx
[12:49:05] --> Beh0lder has joined #GemRb
[12:49:14] <Beh0lder> hello
[12:51:05] <fuzzie> hi
[12:56:05] --> |Cable| has joined #GemRb
[12:56:37] <Beh0lder> How can I mute Ambient sounds? In earlier versions I called ((AmbientMgrAL*) ambim)->deactivate(). But in current version it does not work.
[12:57:01] <fuzzie> in 0.6.4?
[12:57:29] <Beh0lder> yes, in latest gits of 0.6.3 too
[12:59:26] <fuzzie> i don't think we changed that codee in a long time
[12:59:33] <Beh0lder> btw, congratulations on the new release)
[13:00:29] <fuzzie> i might have changed behaviour a bit in git, but not 0.6.4
[13:01:21] <Beh0lder> hm, maybe I'm wrong and that line had not worked ...
[13:01:34] <Beh0lder> but question is open)
[13:03:23] <Beh0lder> btw, all ambient sounds comes in game with maximum volume.
[13:04:44] <-- edheldil_ has left IRC (Read error: Operation timed out)
[13:04:50] <fuzzie> hmm
[13:05:53] <fuzzie> that's interesting
[13:08:04] <fuzzie> deactivate() should be fine
[13:09:47] <Beh0lder> look at my code in OpenAlAudio.cpp, OpenALAudioDriver::Pause() method
[13:09:57] <fuzzie> i mean, it depends on what you do
[13:10:06] <fuzzie> if you keep running gemrb in the meantime, something can start ambients again
[13:12:51] <Beh0lder> Hmm, this explains. I need muting ambient sounds for "backgrounding" application. What is a correct way to do this?
[13:12:54] <fuzzie> and i remember there was a patch going around which broke the guiscript by putting EnterGame in bad places
[13:13:18] <fuzzie> which would break this probably
[13:16:37] <fuzzie> but it looks like it should only happen with a bad EnterGame, or if the selected PC changes areas, which seems unlikely if backgrounded
[13:17:46] <fuzzie> which is not to say that it works, only that it looks like it works :) i will look at it later
[13:18:15] <Beh0lder> EnterGame placed in GUISAVE. I think this should not affect if there was no save attempts).
[13:18:32] <fuzzie> yes, if you have no save attempts it should be fine
[13:19:08] <fuzzie> it's just that EnterGame messes with the ambients
[13:20:36] <fuzzie> you're sure it's the ambient sounds at fault
[13:20:37] <fuzzie> ?
[13:24:05] <Beh0lder> Bug with maximum volume for new ambients is a result of EnterGame, I think.
[13:24:54] <Beh0lder> but ambients not muting with call "deactivate", that's fact
[13:25:37] <fuzzie> maybe threading issue?
[13:26:22] <Beh0lder> I loaded my save in Beregost and switch between apps on my Android device, music mutes, ambients not
[13:26:32] <Beh0lder> I don't know)
[13:27:16] <Beh0lder> I don't pretend to correct my code
[13:27:42] <Beh0lder> I want to know how to)
[13:28:49] --> edheldil_ has joined #GemRb
[13:32:25] <tomprince> I think the right way would be to add a mute(bool) method to Audio.
[13:32:43] <fuzzie> and you will magically fix the bug that way? :)
[13:33:18] <fuzzie> i mean, isn't that exactly what Audio::Pause() does anyway?
[13:34:13] <edheldil_> is not there a volume setting for ambients_
[13:34:19] <edheldil_> ?
[13:34:29] <tomprince> I guess it does. :)
[13:34:32] <fuzzie> i think real problem here is that the ambient code was last touched in 2007
[13:34:56] <fuzzie> sorry, i guess conversation doesn't make much sense without context that he code is in Pause() :-)
[13:35:21] <fuzzie> but the ambients code is really not so beautiful, openal-specific code which spawns a thread for all the work
[13:36:08] <fuzzie> but AmbientMgr::deactivate() seems to set active to false, and then the tick() on the AmbientMgrAL should return at once, even if hardStop() hadn't stopped it all
[13:36:30] <tomprince> There is a SoundActivate GameScript action, that calls AmbientMgr::activate
[13:36:39] <fuzzie> aha
[13:37:24] <fuzzie> oh, no
[13:37:29] <fuzzie> that is stupid overridden function name
[13:37:36] <fuzzie> only the no-parameter form is relevant here
[13:37:50] <fuzzie> well, i don't know, maybe this is at fault
[13:37:59] <fuzzie> i can't *run* it from here though, i am just making guesses from the code
[13:55:48] --> SiENcE has joined #GemRb
[14:14:59] <-- edheldil_ has left IRC (Read error: Operation timed out)
[14:36:08] --> pupnik has joined #GemRb
[14:39:40] <-- pupnik_ has left IRC (Ping timeout: 248 seconds)
[14:42:32] --> edheldil_ has joined #GemRb
[14:46:22] <Beh0lder> any suggestions for resolve my problem? :)
[15:07:11] <-- edheldil_ has left IRC (Read error: Operation timed out)
[15:22:22] <-- Beh0lder has left #GemRb
[15:37:06] --> Bo_Thomsen has joined #GemRb
[15:45:53] <-- Bo_Thomsen has left IRC (Ping timeout: 240 seconds)
[15:54:43] <-- SiENcE has left IRC (Quit: @all: cya)
[16:00:01] <-- test32894789234u has left #GemRb
[16:01:45] --> Bo_Thomsen has joined #GemRb
[16:30:55] --> Maighstir has joined #GemRb
[17:01:52] <-- adominguez has left IRC (Quit: Saliendo)
[18:26:04] --> Beh0lder has joined #GemRb
[18:59:42] <-- Beh0lder has left #GemRb
[19:17:55] --> edheldil_ has joined #GemRb
[19:31:51] --> PixelScum has joined #GemRb
[19:34:46] <-- BaldimerBrandybo has left IRC (Ping timeout: 250 seconds)
[20:53:15] --> BaldimerBrandybo has joined #GemRb
[20:56:17] <-- PixelScum has left IRC (Ping timeout: 240 seconds)
[21:47:16] <CIA-48> GemRB: 03edheldil * rd1675754e361 10gemrb/gemrb/core/GUI/MapControl.cpp: Keep viewport inside MapControl
[21:48:30] <fuzzie> evening
[21:55:34] <fuzzie> i am still fighting stupid stuff
[21:55:42] <fuzzie> i keep hoping i can commit bits, but never works :P
[22:00:38] <edheldil_> hi
[22:07:50] <-- lynxlynxlynx has left IRC (Remote host closed the connection)
[22:27:16] <-- Bo_Thomsen has left IRC (Quit: Leaving.)
[22:56:24] <edheldil_> good night
[23:00:00] <-- edheldil_ has left IRC (Read error: Operation timed out)
[23:00:25] <-- Maighstir has left IRC (Read error: Connection reset by peer)
[23:08:16] <pupnik> o/
[23:14:56] <pupnik> do any of you have a commandline prog to scale .pngs to 2x with hq2x scaler?