OSDN Git Service

Remove deprecated version of openInputStream.
authorDave Sparks <davidsparks@android.com>
Wed, 20 May 2009 01:36:08 +0000 (18:36 -0700)
committerDave Sparks <davidsparks@android.com>
Wed, 20 May 2009 01:36:08 +0000 (18:36 -0700)
Continuation of bug 1846343

include/hardware_legacy/AudioHardwareInterface.h

index 9610264..730e5a9 100644 (file)
@@ -213,19 +213,6 @@ public:
                                 int channelCount,
                                 uint32_t sampleRate,
                                 status_t *status,
-                                AudioSystem::audio_in_acoustics acoustics)
-    {
-        // TODO: Remove temporary implementation after all h/w libs are updated
-        return openInputStream(format, channelCount, sampleRate, status, acoustics);
-    }
-
-    /** This method creates and opens the audio hardware input stream */
-    /** DEPRECATED */
-    virtual AudioStreamIn* openInputStream(
-                                int format,
-                                int channelCount,
-                                uint32_t sampleRate,
-                                status_t *status,
                                 AudioSystem::audio_in_acoustics acoustics) = 0;
 
     /**This method dumps the state of the audio hardware */