s***@essential.com
2017-07-18 01:24:58 UTC
Hi,
I am developing a C++ only library (no java) using the NDK audio library.
One of the functionality I must support is to play MP3 audio buffers (not
files, I already done that).
I can't use mediacodec or another open source decoder (just ndk)
This documentation
(https://developer.android.com/ndk/guides/audio/opensl-for-android.html)
says that I can use the buffer api (Buffer queue data locator) to play PCM
data!
How do you go about playing MP3 audio buffers? Can you point me to a
documentation or an example code?
Thanks in advance.
Regards, Shahriar
P.S. I know this question has been asked before. But I haven't read a
concise answer yet.
I am developing a C++ only library (no java) using the NDK audio library.
One of the functionality I must support is to play MP3 audio buffers (not
files, I already done that).
I can't use mediacodec or another open source decoder (just ndk)
This documentation
(https://developer.android.com/ndk/guides/audio/opensl-for-android.html)
says that I can use the buffer api (Buffer queue data locator) to play PCM
data!
How do you go about playing MP3 audio buffers? Can you point me to a
documentation or an example code?
Thanks in advance.
Regards, Shahriar
P.S. I know this question has been asked before. But I haven't read a
concise answer yet.
--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/44f4e3a8-e006-4a5f-9d2d-c129bb1633de%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/44f4e3a8-e006-4a5f-9d2d-c129bb1633de%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.