# samsung i9100 android sdk v1.06 failed init

**URL:** <https://qa.fmod.com/t/samsung-i9100-android-sdk-v1-06-failed-init/12226>\
**Category:** FMOD Engine\
**Created:** [January 6, 2016, 10:27am UTC](https://qa.fmod.com/t/samsung-i9100-android-sdk-v1-06-failed-init/12226 "2016-01-06T10:27:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![programiao](https://avatars.discourse-cdn.com/v4/letter/p/df788c/32.png) [@programiao](https://qa.fmod.com/u/programiao)\
**Post date:** [January 6, 2016, 10:27am UTC](https://qa.fmod.com/t/samsung-i9100-android-sdk-v1-06-failed-init/12226/1 "2016-01-06T10:27:38Z")

</div>

It succeed in other phone, but samsung i9100 failed init and can’t play any sound.  
Does it support this device ?  
Thanks for your time.  
The following is my init code :

```
    FMOD_ERRCHECK(FMOD::Studio::System::create(&mStudioSystem));
    FMOD_ERRCHECK(mStudioSystem->getLowLevelSystem(&mLowLevelSystem));
    FMOD_ERRCHECK(mLowLevelSystem->setSoftwareFormat(0, FMOD_SPEAKERMODE_5POINT1, 0));
    FMOD_ERRCHECK(mStudioSystem->initialize(32, FMOD_STUDIO_INIT_NORMAL, FMOD_INIT_NORMAL, NULL));
```

---

<div class="post-metadata">

**Author:** ![mathew](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/mathew/32/431_2.png) [@mathew](https://qa.fmod.com/u/mathew)\
**Post date:** [January 6, 2016, 9:05pm UTC](https://qa.fmod.com/t/samsung-i9100-android-sdk-v1-06-failed-init/12226/2 "2016-01-06T21:05:04Z")

</div>

> [@](#):
>
> It succeed in other phone, but samsung i9100 failed init and can’t play any sound.  
> Does it support this device ?  
> Thanks for your time.  
> The following is my init code :
> 
> ```
> FMOD_ERRCHECK(FMOD::Studio::System::create(&mStudioSystem));
> FMOD_ERRCHECK(mStudioSystem->getLowLevelSystem(&mLowLevelSystem));
> FMOD_ERRCHECK(mLowLevelSystem->setSoftwareFormat(0, FMOD_SPEAKERMODE_5POINT1, 0));
> FMOD_ERRCHECK(mStudioSystem->initialize(32, FMOD_STUDIO_INIT_NORMAL, FMOD_INIT_NORMAL, NULL));
> 
> ```

Can you link with the logging version of FMOD and add the Logcat output to your question? Information about why it is failing will be printed there.

---

<div class="post-metadata">

**Author:** ![programiao](https://avatars.discourse-cdn.com/v4/letter/p/df788c/32.png) [@programiao](https://qa.fmod.com/u/programiao)\
**Post date:** [January 7, 2016, 2:53am UTC](https://qa.fmod.com/t/samsung-i9100-android-sdk-v1-06-failed-init/12226/3 "2016-01-07T02:53:03Z")

</div>

The following is the normal version’s log. I will add logging version’s later.

01-02 16:48:08.687: I/dalvikvm(9049): Could not find method android.media.AudioManager.getProperty, referenced from method org.fmod.FMOD.getOutputBlockSize  
01-02 16:48:08.687: W/dalvikvm(9049): VFY: unable to resolve virtual method 76: Landroid/media/AudioManager;.getProperty (Ljava/lang/String;)Ljava/lang/String;  
01-02 16:48:08.687: D/dalvikvm(9049): VFY: replacing opcode 0x6e at 0x0016  
01-02 16:48:08.687: I/dalvikvm(9049): Could not find method android.media.AudioManager.getProperty, referenced from method org.fmod.FMOD.getOutputSampleRate  
01-02 16:48:08.687: W/dalvikvm(9049): VFY: unable to resolve virtual method 76: Landroid/media/AudioManager;.getProperty (Ljava/lang/String;)Ljava/lang/String;  
01-02 16:48:08.687: D/dalvikvm(9049): VFY: replacing opcode 0x6e at 0x0016  
01-02 16:48:08.710: E/AudioTrack-Java(9049): [android.media.AudioTrack] getMinBufferSize(): Invalid channel configuration.  
01-02 16:48:08.710: W/fmod(9049): AudioDevice::init : Couldn’t query minimum buffer size, possibly unsupported sample rate or channel count  
01-02 16:48:08.710: I/fmod(9049): AudioDevice::init : Actual buffer size: 24576 bytes  
01-02 16:48:08.710: D/AudioTrack-Java(9049): [android.media.AudioTrack] in audioParamCheck streamtype is (3)  
01-02 16:48:08.710: E/fmod(9049): AudioDevice::init : AudioTrack creation caused IllegalArgumentException  
01-02 16:48:08.734: D/HD(9049): [Error][2011-01-02 16:48:08]Fmod error line: 205 code: 51

---

<div class="post-metadata">

**Author:** ![mathew](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/mathew/32/431_2.png) [@mathew](https://qa.fmod.com/u/mathew)\
**Post date:** [January 7, 2016, 4:46am UTC](https://qa.fmod.com/t/samsung-i9100-android-sdk-v1-06-failed-init/12226/4 "2016-01-07T04:46:41Z")

</div>

I can see from the output you have provided (and some quick checks against the Android source) that your device is running Ice-cream Sandwich or older. Support for 5.1 wasn’t added until Jelly Bean so you get an error.

I’ll get this fixed up so older phones gracefully fallback to stereo for a future release.

---

<div class="post-metadata">

**Author:** ![programiao](https://avatars.discourse-cdn.com/v4/letter/p/df788c/32.png) [@programiao](https://qa.fmod.com/u/programiao)\
**Post date:** [January 7, 2016, 5:09am UTC](https://qa.fmod.com/t/samsung-i9100-android-sdk-v1-06-failed-init/12226/5 "2016-01-07T05:09:25Z")

</div>

> [@](#):
>
> I can see from the output you have provided (and some quick checks against the Android source) that your device is running Ice-cream Sandwich or older. Support for 5.1 wasn’t added until Jelly Bean so you get an error.
> 
> I’ll get this fixed up so older phones gracefully fallback to stereo for a future release.

Thanks a lot.
