| Index: media/audio/android/opensles_util.h
|
| diff --git a/media/audio/android/opensles_util.h b/media/audio/android/opensles_util.h
|
| index bc6d0410af9a7ba2b25b655f4d6f169e7274bdbd..2673d14f3b6a2533fbc3b575a238dd630521b359 100644
|
| --- a/media/audio/android/opensles_util.h
|
| +++ b/media/audio/android/opensles_util.h
|
| @@ -8,6 +8,7 @@
|
| #include <SLES/OpenSLES.h>
|
|
|
| #include "base/logging.h"
|
| +#include "media/base/media_export.h"
|
|
|
| namespace media {
|
|
|
| @@ -40,6 +41,11 @@ class ScopedSLObject {
|
|
|
| typedef ScopedSLObject<SLObjectItf, const SLObjectItf_*> ScopedSLObjectItf;
|
|
|
| +// Guesses the channel mask for a given channel count. Android does not offer a
|
| +// way to configure the layout, so this will be incorrect for less common
|
| +// channel layouts.
|
| +MEDIA_EXPORT SLuint32 ChannelCountToSLESChannelMask(int channel_count);
|
| +
|
| } // namespace media
|
|
|
| #endif // MEDIA_AUDIO_ANDROID_OPENSLES_UTIL_H_
|
|
|