Alsa for Android

Arun Raghavan arun at accosted.net
Tue Aug 19 20:33:17 PDT 2014


On 19 August 2014 15:54, truthz03 <thomas.tr at gmx.net> wrote:
> If I need special previlegs than I will add these. That isn't the problem. I
> have also rooted my phone.
> The problem is that neither the android sdk nore the android ndk supports my
> usb audio device.
> Yesterday I have tried the OpenSLES thing but I'm not able to enumerate all
> audio devices so I think this solution also doesn't work for me. (not
> supported)
> The only think that works is the "USB Audio Recorder Pro" app. This app
> founds my stick and is able to record from my stick. But I need to get the
> sound from my stick to gstreamer so this isn't a solution.
>
> Are there other ways to get my USB sound to gstreamer?

The first thing to check is that your phone has the usb-audio driver
built in, so that the system can recognise the device. If this is not
the case, neither ALSA, nor any of the system APIs will be able to
access the device.

>From what I can tell, the app you mentioned implements the audio
driver itself, which is why it works.

-- Arun


More information about the gstreamer-devel mailing list