Last minute changes

This commit is contained in:
shagrath 2011-12-18 19:50:31 +01:00
parent a5f107c67b
commit 366bb8eae5
3 changed files with 4 additions and 4 deletions

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.ab.x48" android:installLocation="auto" android:versionCode="32" android:versionName="1.32">
package="org.ab.x48" android:installLocation="auto" android:versionCode="34" android:versionName="1.34">
<application android:icon="@drawable/icon" android:label="@string/app_name">
<activity android:name=".X48"
android:label="@string/app_name"
@ -15,7 +15,7 @@
</activity>
<activity android:name=".Settings" android:label="@string/choose_contrast_value"></activity>
</application>
<uses-sdk android:minSdkVersion="3" android:targetSdkVersion="14"/>
<uses-sdk android:minSdkVersion="3" android:targetSdkVersion="10"/>
<supports-screens android:largeScreens="true" android:normalScreens="true" android:anyDensity="true" android:resizeable="true" android:smallScreens="true" android:xlargeScreens="true"></supports-screens>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"></uses-permission>

View file

@ -52,6 +52,6 @@
<string name="scale_buttons_summary">Scale when touch controls are too large (less sharp though)</string>
<string name="disableLite">Disable minimal controls</string>
<string name="disableLite_summary">Prevents lite controls to show up when touching LCD</string>
<string name="sound">Enable (buggy) sound</string>
<string name="sound">Enable sound</string>
<string name="sound_summary">EXPERIMENTAL: system beeps ok, so far</string>
</resources>

View file

@ -74,7 +74,7 @@ public class HPView extends SurfaceView implements SurfaceHolder.Callback, Runna
ann = new boolean [6];
buf = new short [(14+128)*262];
audiobuf = new short [44100]; // 1s worth
track = new AudioTrack(AudioManager.STREAM_MUSIC, 44100, AudioFormat.CHANNEL_OUT_MONO, AudioFormat.ENCODING_PCM_16BIT, 16384, AudioTrack.MODE_STREAM);
track = new AudioTrack(AudioManager.STREAM_MUSIC, 44100, AudioFormat.CHANNEL_CONFIGURATION_MONO, AudioFormat.ENCODING_PCM_16BIT, 16384, AudioTrack.MODE_STREAM);
annImages = new Bitmap [6];
updateContrast();
matrixScreen = new Matrix();