I see. Thanks for your answer. While trying to find more about
supported interfaces, I found this on my own phone:
Engine:
SL_IID_OBJECT
SL_IID_DYNAMICINTERFACEMANAGEMENT
SL_IID_ENGINE
OutputMix:
SL_IID_OBJECT
SL_IID_OUTPUTMIX
SL_IID_DYNAMICINTERFACEMANAGEMENT
SLPlay with SL_DATALOCATOR_ANDROIDSIMPLEBUFFERQUEUE
SL_IID_OBJECT
SL_IID_PLAY
SL_IID_BUFFERQUEUE
SL_IID_EFFECTSEND
SL_IID_DYNAMICINTERFACEMANAGEMENT
SLPlay with SL_DATALOCATOR_ANDROIDFD
SL_IID_OBJECT
SL_IID_PLAY
SL_IID_SEEK
SL_IID_DYNAMICINTERFACEMANAGEMENT
So I guess that confirm that it is unsupported. I found a piece of
code in sles.c that confirms what you tell about Profiles. Here is an
extract from NDK doc:
"Note: though based on OpenSL ES, Android native audio at API level 9
is not a conforming implementation of any OpenSL ES 1.0.1 profile
(game, music, or phone). This is because Android does not implement
all of the features required by any one of the profiles. Any known
cases where Android behaves differently than the specification are
described in section "Android extensions" below. "
I am absolutely not an expert in 3D audio. Is it highly dependent on
hardware features that can't be emulated in software on (old) phones?
Many thanks
On 24 avr, 22:12, mic _ <
micol...@gmail.com> wrote:
> It depends on which profile flags the OpenSL ES library was compiled with.
> So that fact that you get an UNSUPPORTED error probably means that HTC
> didn't include the 3D audio effect on the Desire.
>
> /Michael
>