X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=include%2Fhardware_legacy%2FAudioHardwareInterface.h;h=96102646c0478717ddad9a4ef75e984292b50839;hb=c61651ca12e73e153f2bfcd43d096c261598cad3;hp=0aa3a95320361d44c5b013c88f2652d0a8a3c309;hpb=049ae36fcb9e9af8ee5e42284b9320e64b576ebd;p=android-x86%2Fhardware-libhardware_legacy.git diff --git a/include/hardware_legacy/AudioHardwareInterface.h b/include/hardware_legacy/AudioHardwareInterface.h index 0aa3a95..9610264 100644 --- a/include/hardware_legacy/AudioHardwareInterface.h +++ b/include/hardware_legacy/AudioHardwareInterface.h @@ -208,6 +208,20 @@ public: /** This method creates and opens the audio hardware input stream */ virtual AudioStreamIn* openInputStream( + int inputSource, + int format, + 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,