aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2017-02-02 06:14:01 -0800
committerChris Robinson <[email protected]>2017-02-02 06:14:01 -0800
commit2c1791752aebea9f2cf83df155db607eaeeb2046 (patch)
tree350979892c9b327ff1abf306e4ad2e6c81799aab /Alc/backends
parent071b83ba523b0bae6f86482190677b4e52fb6082 (diff)
Android's AudioManager.getProperty(String) returns a String
Diffstat (limited to 'Alc/backends')
-rw-r--r--Alc/backends/opensl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/backends/opensl.c b/Alc/backends/opensl.c
index c1065692..51fe11f6 100644
--- a/Alc/backends/opensl.c
+++ b/Alc/backends/opensl.c
@@ -268,7 +268,7 @@ static ALCboolean opensl_reset_playback(ALCdevice *Device)
"PROPERTY_OUTPUT_SAMPLE_RATE", "Ljava/lang/String;"
);
jmethodID audmgr_getproperty = JCALL(env,GetMethodID)(audmgr_cls,
- "getProperty", "(Ljava/lang/String;)Ljava/lang/Object;"
+ "getProperty", "(Ljava/lang/String;)Ljava/lang/String;"
);
TRACE("AudioManager: %p, PROPERTY_OUTPUT_SAMPLE_RATE: %p, getProperty: %p\n",
audmgr_cls, audmgr_prop_out_srate, audmgr_getproperty);