0
0

My game engine is using fmod library for sound functions. After testing the project on different android phone, i found that fmod is working correctly for android 2.2 and above but not on android 2.1. I observed that example project’s manifest file mention minimum sdk version 8 (android 2.2). My client want game to able to play from android 2.1 and above. And one more strange observations, when i install and run game on android 2.1 phone, my app terminate automatically but when i run my game on android 2.1 emulator, my game work correctly, except that sound is muted, i.e. , inaudible. This is error message i got when run on android 2.1 hardware :

FMOD error! (48) Tried to use a feature that requires hardware support. (ie trying to play a GCADPCM compressed sound in software on Wii).

Please help me by answering these questions :

1> Is it true fmod can’t work on android 2.1? if not, can you suggest how to run it.

2> Any alternate solution for sound to work on android 2.1 and above?

Thanks in advance.

  • You must to post comments
0
0

Can you link with the logging version of FMOD and provide TTY output, it should give clues as to what your problem is.

FMOD should work will all versions of Android.

  • You must to post comments
0
0

Am new to platform and fmod. can you tell me how to link with logging version?

  • You must to post comments
0
0

Update the Android.mk file to point to libfmodexL.so instead of libfmodex.so.
Change your main Java file to call System.loadLibrary("fmodexL") instead of fmodex.

  • You must to post comments
0
0

06-18 12:45:22.452: I/fmod(16549): FMOD: SystemI::init : FMOD Ex Version: 00044008
06-18 12:45:22.452: I/fmod(16549): FMOD: SystemI::init : maxchannels = 32, flags = 00000000, extradriverdata = 0x0
06-18 12:45:22.452: I/fmod(16549): FMOD: SystemI::close :
06-18 12:45:22.452: I/fmod(16549): FMOD: SystemI::close : Stop all sounds
06-18 12:45:22.452: I/fmod(16549): FMOD: SystemI::close : Remove miscllaneous DSP stuff.
06-18 12:45:22.452: I/fmod(16549): FMOD: SystemI::close : done.
06-18 12:45:22.452: I/fmod(16549): FMOD: FMOD_OS_Output_Register : Could not detect floating point hardware, cannot continue.
06-18 12:45:22.452: I/fmod(16549): FMOD: SystemI::close :
06-18 12:45:22.452: I/fmod(16549): FMOD: SystemI::close : Stop all sounds
06-18 12:45:22.452: I/fmod(16549): FMOD: SystemI::close : Remove miscllaneous DSP stuff.
06-18 12:45:22.452: I/fmod(16549): FMOD: SystemI::close : done.

Please let me know if need any thing.

  • You must to post comments
0
0

The key information here is:
"Could not detect floating point hardware, cannot continue."

Unfortunately the device you are trying to use does not have hardware support for floating point calculations. There is a small minority of Android phones still on the market like this, regrettably it’s not possible to use FMOD on these phones.

  • You must to post comments
0
0

Thank you very much for your helps.

  • You must to post comments
0
0

Plese help me on one more issues. My Android 2.1 emulator launch successfully but there is no sound. but sound is audible in emulator android 2.3 version. here is messages shown when i run project on android 2.1 emulator :
06-18 13:13:30.771: I/fmod(345): FMOD: SystemI::init : FMOD Ex Version: 00044008
06-18 13:13:30.781: I/fmod(345): FMOD: SystemI::init : maxchannels = 32, flags = 00000000, extradriverdata = 0x0
06-18 13:13:30.781: I/fmod(345): FMOD: SystemI::close :
06-18 13:13:30.781: I/fmod(345): FMOD: SystemI::close : Stop all sounds
06-18 13:13:30.781: I/fmod(345): FMOD: SystemI::close : Remove miscllaneous DSP stuff.
06-18 13:13:30.781: I/fmod(345): FMOD: SystemI::close : done.
06-18 13:13:30.781: I/fmod(345): FMOD: FMOD_OS_Output_Register : Detected VFP instruction support, will use VFP optimized mixing and resampling.
06-18 13:13:30.791: I/fmod(345): FMOD: OutputAudioTrack::init : Initializing…
06-18 13:13:30.791: I/fmod(345): FMOD: OutputAudioTrack::init : Done.
06-18 13:13:30.791: I/fmod(345): FMOD: SystemI::init : Set up software engine
06-18 13:13:30.801: I/fmod(345): FMOD: SystemI::init : Set up emulated output
06-18 13:13:30.801: I/fmod(345): FMOD: SystemI::init : create the channel pool
06-18 13:13:30.801: I/fmod(345): FMOD: SystemI::init : Set up streamer
06-18 13:13:30.801: I/fmod(345): FMOD: Thread::initThread : Initializing FMOD stream thread. priority 2
06-18 13:13:30.801: I/fmod(345): FMOD: Thread::initThread : – Stacksize 49152. Stack pointer 0x0 : usesemaphore = 0 : sleeptime = 10
06-18 13:13:30.801: I/fmod(345): FMOD: Thread::callback : * FMOD stream thread started
06-18 13:13:30.876: I/fmod(345): FMOD: Thread::initThread : done.
06-18 13:13:30.876: I/fmod(345): FMOD: SystemI::init : done

  • You must to post comments
0
0

By default Android 2.3 and higher use a different audio output system. Before Android 2.3 the output system is run in Java, if you take a look at the "getting started" guide under the section "Java Initialization" it should explain what you need to do to get things working. Alternatively take a look at the examples, specifically the Java code. You need to create and start the FMODAudioDevice object.

  • You must to post comments
Showing 8 results
Your Answer

Please first to submit.