Index: webrtc/modules/audio_device/android/opensles_common.h |
diff --git a/webrtc/modules/audio_device/android/opensles_common.h b/webrtc/modules/audio_device/android/opensles_common.h |
index a4487b095c8e354e0b5406634179147017da251d..5ff295b69df093177df95f3cce4f6796c1036a35 100644 |
--- a/webrtc/modules/audio_device/android/opensles_common.h |
+++ b/webrtc/modules/audio_device/android/opensles_common.h |
@@ -17,6 +17,10 @@ |
namespace webrtc { |
+// Returns a string representation given an integer SL_RESULT_XXX code. |
+// The mapping can be found in <SLES/OpenSLES.h>. |
+const char* GetSLErrorString(size_t code); |
+ |
SLDataFormat_PCM CreatePcmConfiguration(int sample_rate); |
// Helper class for using SLObjectItf interfaces. |