Changeset a03ff5d in orbit for android/src


Ignore:
Timestamp:
11/19/13 05:27:57 (8 years ago)
Author:
Steve Castellotti <sc@…>
Branches:
master, Servo
Children:
afcc0af
Parents:
8e9b9b3
Message:
  • playControl() adjusted to automatically attempt maxVolume output (fixes Samsung Galaxy S4 SGH-M919)
  • Adjusted length of "Test" duration - increased by a factor of 10
File:
1 edited

Legend:

Unmodified
Added
Removed
  • android/src/info/puzzlebox/orbit/OrbitTabActivity.java

    r8e9b9b3 ra03ff5d  
    11391139 
    11401140                                if (demoFlightMode) 
    1141                                         updateAudioHandlerLoopNumberWhileMindControl(20); 
     1141                                        updateAudioHandlerLoopNumberWhileMindControl(200); 
    11421142                                else 
    11431143                                        updateAudioHandlerLoopNumberWhileMindControl(4500); 
     
    11621162                        /** Is the sound loaded already? */ 
    11631163                        if (loaded) { 
    1164                                 soundPool.play(soundID, volume, volume, 1, 0, 1f); 
     1164//                              soundPool.play(soundID, volume, volume, 1, 0, 1f); 
     1165                                soundPool.play(soundID, maxVolume, maxVolume, 1, 0, 1f); // Fixes Samsung Galaxy S4 [SGH-M919] 
    11651166                                if (DEBUG) 
    11661167                                        Log.v(TAG, "Played sound"); 
Note: See TracChangeset for help on using the changeset viewer.