Accessing somekind of audio device from JNI?

by Possan » Wed, 12 Aug 2009 01:35:42 GMT


Sponsored Links
 Hi

Is it possible to access some audio-device or getting some lower level
access to the media framework from within a JNI library, for
generating lower latency audio? perhaps using something like alsa?
couldn't find any audio/media references in the NDK..

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. change margin of a view after it has been rendered



That's what TreKing was pointing you toward.

Step #1: Get your widget's LayoutParams

Step #2: Change the margin values

Step #3: Either call setLayoutParams() (on the widget) or invalidate()
(on the parent) to visibly affect the change -- I'm a bit fuzzy on this
step, as it's been ages since I've needed to make changes like this

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Warescription: Three Android Books, Plus Updates, One Low Price!

-- 

2. change margin of a view after it has been rendered





Maybe this?
http://developer.android.com/intl/fr/reference/android/view/ViewGroup.MarginLayoutParams.html

-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking

-- 

3. OOT: Dua Sejoli

4. Widget with scrollable list of items

5. J2ME converting/translation to Android

6. inflate xml custom component

7. how to unedrline text?