How to control alsa's volume

by ehung1...@gmail.com » Fri, 26 Feb 2010 16:26:45 GMT


Sponsored Links
 Hi all ..
I have ported the android 1.6 OS at my x86 system and heard the voice
successfully by alsa.
But the voice volume is always low.
The new alsa version is no more need the asound.conf file.
So how do I setup my voice default volume?
My audio device is Intel-HD series.

Thanks in advance.
ehung

-- 



Other Threads

1. AutoCompleteTextView Problem - Does not display content

Hi!

Here is the focus change handler I wrote for an AutoCompleteTextView.
Now my problem is that whenever, the view loses focus, it does not
display content in the box. However, when I switch back to
AutoCompleteTextView it starts displaying it. I think this is a wrong
behaviour. Any comments.

Regards
Nitin
HSC

uri_box.setOnFocusChangeListener(new OnFocusChangeListener(){
                        public void onFocusChanged(View v, boolean hasFocus)
            {
                                if (hasFocus)
                                {
                                        AutoCompleteTextView uri_box = 
(AutoCompleteTextView)v;
                                        String st = 
uri_box.getText().toString().trim();
                                if (st.compareToIgnoreCase("Address") == 0)
                                {
                                        uri_box.setText("");
                                }
                                }
                                else
                                {
                                        AutoCompleteTextView uri_box = 
(AutoCompleteTextView)v;
                                        if 
(uri_box.getText().toString().trim().length() == 0)
                                        {
                                                uri_box.setText("Address");
                                        }
                                }
            }}
                );
--~--~---------~--~----~------------~-------~--~----~

2. Question about transparent views

Hello

I am using a view with a transparent background for activity A:

    <style name="Theme.Transparent">
        <item name="android:windowBackground">@drawable/
transparent_background</item>
        <item name="android:windowNoTitle">true</item>
    </style>

The problem i am having trouble solving is:

I start activity A from the home screen. Activity A then launches
activity B, using startActivity() (it's not a sub-activity). Once i
finish using activity B, i return to activity A, but since the home
screen has probably been paused and is no longer visible, i see the
white and gray check board pattern behind activity A's transparent
background.

How can i find out what activity is behind Activity A so that i can
resume it? How can i resume it while keeping Activity A in the
foreground?

regards,
Radu


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

3. Problem with displaying Notification

4. TabActivity example?

5. invoke an action in an already running activity

6. Blank screen after Activity starts

7. How to show one View inside another.