summaryrefslogtreecommitdiffstats
path: root/include/hardware_legacy/AudioHardwareInterface.h
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2012-01-18 16:27:02 -0800
committerGlenn Kasten <gkasten@google.com>2012-01-18 16:27:02 -0800
commit902ec630b6abc9bf6c247e21ff4a829c58a93ce9 (patch)
tree0bad0b5963757727cb95668ad8262cfe0b907ad0 /include/hardware_legacy/AudioHardwareInterface.h
parentf6fc420a79f98d93d953a60b1fc0a5b5f71a3fe2 (diff)
downloadhardware_libhardware_legacy-902ec630b6abc9bf6c247e21ff4a829c58a93ce9.zip
hardware_libhardware_legacy-902ec630b6abc9bf6c247e21ff4a829c58a93ce9.tar.gz
hardware_libhardware_legacy-902ec630b6abc9bf6c247e21ff4a829c58a93ce9.tar.bz2
Fix typos
Change-Id: Ie0acd07861604e66f571e0c1f43cfdccf12ea691
Diffstat (limited to 'include/hardware_legacy/AudioHardwareInterface.h')
-rw-r--r--include/hardware_legacy/AudioHardwareInterface.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/hardware_legacy/AudioHardwareInterface.h b/include/hardware_legacy/AudioHardwareInterface.h
index 847fe6b..c781218 100644
--- a/include/hardware_legacy/AudioHardwareInterface.h
+++ b/include/hardware_legacy/AudioHardwareInterface.h
@@ -56,7 +56,7 @@ public:
virtual size_t bufferSize() const = 0;
/**
- * returns the output channel nask
+ * returns the output channel mask
*/
virtual uint32_t channels() const = 0;
@@ -166,7 +166,7 @@ public:
virtual String8 getParameters(const String8& keys) = 0;
- // Return the amount of input frames lost in the audio driver since the last call of this function.
+ // Return the number of input frames lost in the audio driver since the last call of this function.
// Audio driver is expected to reset the value to 0 and restart counting upon returning the current value by this function call.
// Such loss typically occurs when the user space process is blocked longer than the capacity of audio driver buffers.
// Unit: the number of input audio frames
@@ -236,6 +236,7 @@ public:
uint32_t *sampleRate=0,
status_t *status=0) = 0;
virtual void closeOutputStream(AudioStreamOut* out) = 0;
+
/** This method creates and opens the audio hardware input stream */
virtual AudioStreamIn* openInputStream(
uint32_t devices,