- Feb 18, 2008
- Reaction score
My bad all. I saw the OrbiterSound 5.0 and I guess I just lost my composure. Sorry :embarrassed:
I have no problem waiting for the Beta!Sorry, I'm preparing all for the incoming beta (hence the image of the setup program), but it's not yet ready.
The news thread: http://orbiter.dansteph.com/forum/index.php?topic=14499.msg220291#msg220291
The release is planned for Tuesday... :lol:
As I changed all the music system there will be some more alpha before the beta, if you want to test the alpha, you're welcome, just send me a PM on my forum.
Do you mean oapi::Module::clbkFocusChanged ? If so, this should indeed trigger if the simulation starts due to the API reference:The issue is more or less Orbiters fault, as I seems it does not "trigger" a changeFocusVessel event, that seems to be needed by OrbiterSound.
This callback function is also called at the beginning of the simulation, where new_focus is the vessel receivingthe initial focus, and old_focus is NULL.
I have no special reason for using OrbiterSoundSDK40 over MfdSoundSDK40...Hello Kuddel,
Sorry for the delay, I'm not monitoring this thread but the update one on my forum where I post the news.
I downloaded your project on github, there is a reason why you use "OrbiterSoundSDK40.h" which is for vessel instead of "MfdSoundSDK40.h" which is for MFD ?
I didn't check the code, but the first one is not done for MFD so the "bug" sound logic.
No problem. It just isn't a vessel sound anymore But if it fits better I'll put 'em there.Also small detail, it would be better to put your sound folder into "./Sound/_CustomVesselSound/ComMFD/*" instead of "./Sound/ComMFD/*"
Yes! And as I have a work-around that is "O.K." I'll keep that.Do you want to stay compatible with 2010 & 2016 ?
If yes, you'll need to stick with your workaround.
5.0 should also be "detectable" by a makro definition at compile-time.If not I can maybe add as "IsPlaying" to MfdSoundSDK50.h but you'll have to wait until the OS release to release your addon.
#if defined([COLOR="Magenta"]__ORBITERSOUNDMFD40_SDK[/COLOR]) || defined([COLOR="Magenta"]__ORBITERSOUND40_SDK[/COLOR]) [COLOR="Green"]// ... Version 4.0 specific things...[/COLOR] #endif [COLOR="Green"]// __ORBITERSOUNDMFD40_SDK || __ORBITERSOUND40_SDK[/COLOR]