how can I create a asound.conf based on my hardware sound card configure?

by max » Fri, 10 Apr 2009 23:40:32 GMT


Sponsored Links
 Hi All,
Nowdays on my read device, the alsa driver is working on the android
linux , I can use alsamixer to configure the sound card , but I now
need a asound.conf file to enable audio in android. I got some sample
from the discussion group, but I wanna know how I can produce those
information based on my own sound card.


Max

Thanks.
--~--~---------~--~----~------------~-------~--~----~

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



how can I create a asound.conf based on my hardware sound card configure?

by max » Sat, 11 Apr 2009 07:50:32 GMT


 Hi All,
Nowdays on my read device, the alsa driver is working on the android
linux , I can use alsamixer to configure the sound card , but I now
need a asound.conf file to enable audio in android. I got some sample
from the discussion group, but I wanna know how I can produce those
information based on my own sound card.


Thanks.
Max




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

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


Sponsored Links


Other Threads

1. How to store and retrieve email id and password using SharedPreferences?

Here's some code that stores a user token and a password in
SharedPreferences:
                private String PREFS="preferences";
                private String TOKEN_STRING="token";
                private String PASSWORD_STRING="password";
// retrieving the token and password
                SharedPreferences settings = this.getSharedPreferences(PREFS, 
0);
                if (settings.contains(TOKEN_STRING) && settings.containts
(PASSWORD_STRING)) {
                        String secret = settings.getString(PASSWORD_STRING, "");
                        String token = settings.getString(TOKEN_STRING, "");
                        if(!(token.equals("") || secret.equals(""))) {
                                // token is good
                                // password is good
                        }
                }

// removing the token and password
            SharedPreferences settings = this.getSharedPreferences(PREFS,
0);
            SharedPreferences.Editor editor = settings.edit();
            editor.remove(TOKEN_STRING);
            editor.remove(SECRET_STRING);
            editor.commit();

// setting the token and password
            SharedPreferences settings = this.getSharedPreferences(PREFS,
0);
            SharedPreferences.Editor editor = settings.edit();
            editor.putString(TOKEN_STRING, "user token");
            editor.putString(SECRET_STRING, "user password);
            editor.commit();




> Thanks.

2. Some application / market questions

Not sure about 1, but there have been several threads on various free->paid
strategies. Search around and I'm sure you'll find something useful.



Yes, look at the section in the docs about publishing. At the bottom of one
of those pages is a table with a bunch of URIs you can launch in an intent
that will start the Market app. You can search by developer, package, or app
name (I think). One (has "details" in it I think) will take you directly to
the app for a given package name.

3) As I understand it, there is no way to link directly to a market

Yup, there's still no web-based version of the market. You can put a link to
the URI as described above and if clicked in an android browser, I think it
should work, but not otherwise. What I do is put a QR code that people can
scan with their phones to get directly to my app(s).

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

3. InCallScreen activity failed to start when an MT call was received while BT headset is connected.

4. gears and android 2.X

5. Layout issues for multiple screen sizes and API versions

6. How to run my app only when screen saver runs

7. 鈥淐onnection reset by peer鈥? exception when connecting android g1 to rs232 adapter