20 May '13 - 22:51 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Reply  |  Print  
Author Topic: Tested on Android 3.1/Nvidia tegra?  (Read 637 times)
trentgg
Guest
« on: 16 May '12 - 06:49 »
Reply with quoteQuote

I just had a friend test my game on a Galaxy Tab 10.1 (Android 3.1 with Nvidia tegra chipset.) On all of my devices with 2.3 or > sound works, and < 2.3 it works when mixed with AudioTrack. However, my friend said there was no sound for him. Has BASS been tested on this configuration (Android 3.1, tegra)? What should I do to fix this problem?

Thanks,
Trent
Logged
Ian @ un4seen
Administrator
Posts: 15253


« Reply #1 on: 16 May '12 - 15:08 »
Reply with quoteQuote

Are the BASS calls (eg. BASS_Init) succeeding, but nothing is heard? If you're not sure, please check that. Also, is the AudioTrack output system (ie. feeding "decoding channels" to that) working on the device? I presume sound is heard from other apps on the device, so it isn't just that the device's volume is turned down/muted?
Logged
trentgg
Guest
« Reply #2 on: 17 May '12 - 01:43 »
Reply with quoteQuote

I don't know yet if BASS_Init etc are succeeding. I'll have more info soon when I get the device. I just wanted to get some preliminary info. I'll also check if AudioTrack is working. Sound can be heard from other games on the device. He didn't mention anything in the log, though I guess BASS doesn't use the Android log anyway? Anyway, thanks for the tips and I'll let you know if I can't get it working when I get the device.
Logged
trentgg
Guest
« Reply #3 on: 18 May '12 - 19:58 »
Reply with quoteQuote

So, I didn't get the exact same device. It's a Galaxy Tab 10.1 but it's running Android 3.2. No problems on that one.

But my friends device still has no sound in the game, and I put in some debugging output. Got the strangest error code from BASS_Init:

I/allegro (23200): morpg2   D 23208:            sound.cpp:239  void initSound()                 [   0.11269] BASS_Init failed (39)

From bass.h:

#define BASS_ERROR_DX           39      // a sufficient DirectX version is not installed

Any ideas? Oo
Logged
trentgg
Guest
« Reply #4 on: 18 May '12 - 20:20 »
Reply with quoteQuote

So I fall back to SoundPool and MediaPlayer when BASS_Init fails. That works. I don't think my friend is going to want to test this quite as much as me, so this solution will have to do. Would be nice to see it fixed in the next version of BASS if that's possible though.

Thanks!
Logged
Ian @ un4seen
Administrator
Posts: 15253


« Reply #5 on: 21 May '12 - 14:17 »
Reply with quoteQuote

In the Android version, a BASS_ERROR_DX error indicates that OpenSL ES is missing (or some required feature is missing from it). It seems strange that an Android 3.1 device would be missing it. I will send you a debug version to confirm what's going on.
Logged
trentgg
Guest
« Reply #6 on: 22 May '12 - 04:52 »
Reply with quoteQuote

Hi Ian, I got your message with the debug version... but just now I went to grab it so I could give it to the guy with the not working device, and I can't find the message. Can you send the lib again?
Logged
Ian @ un4seen
Administrator
Posts: 15253


« Reply #7 on: 22 May '12 - 14:13 »
Reply with quoteQuote

Yep, I have re-sent it.
Logged
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.18 | SMF © 2013, Simple Machines