diff options
author | Chris Robinson <[email protected]> | 2017-02-02 06:14:01 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2017-02-02 06:14:01 -0800 |
commit | 2c1791752aebea9f2cf83df155db607eaeeb2046 (patch) | |
tree | 350979892c9b327ff1abf306e4ad2e6c81799aab /Alc/backends | |
parent | 071b83ba523b0bae6f86482190677b4e52fb6082 (diff) |
Android's AudioManager.getProperty(String) returns a String
Diffstat (limited to 'Alc/backends')
-rw-r--r-- | Alc/backends/opensl.c | 2 |
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); |