0
0

Can we detect if the music player is playing music so I can not play music with FMOD? Is there a way to check for this through FMOD and if not how have other customers solved this? We are using C++ in a native application, so no access to C#.

  • You must to post comments
0
0

The correct way to interact with other audio applications on windows phone is by setting the audio category in the platform specific FMOD startup options.

[code:2eprgjhu]

include <fmodwindowsphone.h>

//...
FMOD_WINDOWSPHONE_EXTRADRIVERDATA extraDriverData = { };
extraDriverData.stream_type = FMOD_WINDOWSPHONE_STREAMTYPE_GAMEMEDIA;
FMOD_RESULT result = system->init(100, FMOD_INIT_NORMAL, &extraDriverData);
[/code:2eprgjhu]

Using the GameMedia category will cause audio to be silenced if there is already a background stream playing in another application.

If you wish to only mute your music while playing other types of sounds (e.g. effects) then it will be necessary to create two FMOD system objects with different audio categories.

For more information on the audio categories see http://msdn.microsoft.com/en-us/library … e/hh770517.

  • You must to post comments
0
0

I downloaded the latest version of the Windows Phone 8 API (4.44.04) and am unable to find "fmodwindowsphone.h". The examples reference the files but are also unable to find them.

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.