Audio write speed?

by BobG » Thu, 25 Feb 2010 12:26:05 GMT


Sponsored Links
 Anyone know if you can write a mono 16 bit pcm stream to flash at
44100 words a sec/88200 bytes per sec? Thanks

--



Other Threads

1. How do I get progressive JPEG decoding to work?

I tried sending partial inputs of various lengths to BitmapFactory, but it
just returns null and logs "D/skia    ( 6875): --- decoder->decode returned
false".

Thanks,
Bob

-- 

2. SUPPLICANT_CONNECTION_CHANGE_ACTION - Is it a bug in Android sources?

Hi,

I'm learning the StatusBarPolicy.java as a reference for implementing
a WiFi Monitor:

http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob_plain;f=services/java/com/android/server/status/StatusBarPolicy.java;hb=HEAD

I've noticed something strange with the processing of the
SUPPLICANT_CONNECTION_CHANGE_ACTION  actions.

1. First, the BroadcastReceiver registers with the following filters
(including the SUPPLICANT_CONNECTION_CHANGE_ACTION):

        filter.addAction(WifiManager.WIFI_STATE_CHANGED_ACTION);
 
filter.addAction(WifiManager.SUPPLICANT_CONNECTION_CHANGE_ACTION);
        filter.addAction(WifiManager.NETWORK_STATE_CHANGED_ACTION);
        filter.addAction(WifiManager.RSSI_CHANGED_ACTION);

2. The onReceive method calls the updateWifi for the processing.
However, the SUPPLICANT action is not handled here:

        if (action.equals(WifiManager.NETWORK_STATE_CHANGED_ACTION) ||
               action.equals(WifiManager.WIFI_STATE_CHANGED_ACTION) ||
               action.equals(WifiManager.RSSI_CHANGED_ACTION)) {
           updateWifi(intent);
        }

3. updateWifi however tries to handle the
SUPPLICANT_CONNECTION_CHANGE_ACTION anyway:

       else if
(action.equals(WifiManager.SUPPLICANT_CONNECTION_CHANGE_ACTION)) {
          ...
       }

It seems to me that the SUPPLICANT_CONNECTION_CHANGE_ACTION  is left
unhandled.

Is it a bug or am I missing something?

Thanks
Alex

-- 

3. Camera Stress Test

4. How to paint transparency - Swiss Cheese Style

5. Android 2.1 Motorola Milestone

6. MotoDroid Gak Mau Flas

7. Compiling FFMpeg as NDK Shared library