summaryrefslogtreecommitdiffstats
path: root/include/media/AudioSystem.h
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2014-03-26 07:50:05 -0700
committerGlenn Kasten <gkasten@google.com>2014-03-26 19:22:40 +0000
commit0ed19594452c901c3c8665d06610fffe46895d06 (patch)
tree54d8cd6a63a3f85d6199d4a9d6b7981fab14b973 /include/media/AudioSystem.h
parent1392eb3d1802e9f894f87d7a7387207d1b6faca1 (diff)
downloadframeworks_av-0ed19594452c901c3c8665d06610fffe46895d06.zip
frameworks_av-0ed19594452c901c3c8665d06610fffe46895d06.tar.gz
frameworks_av-0ed19594452c901c3c8665d06610fffe46895d06.tar.bz2
Remove stream type from AudioSystem::getRenderPosition()
The I/O handle is never equal to AUDIO_IO_HANDLE_NONE, so the stream type is not needed. Change-Id: I1ab134a2fa379d6dd0b6167345a856a192d478f9
Diffstat (limited to 'include/media/AudioSystem.h')
-rw-r--r--include/media/AudioSystem.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/media/AudioSystem.h b/include/media/AudioSystem.h
index 28fdfd4..a09967b 100644
--- a/include/media/AudioSystem.h
+++ b/include/media/AudioSystem.h
@@ -125,8 +125,7 @@ public:
static status_t setVoiceVolume(float volume);
// return the number of audio frames written by AudioFlinger to audio HAL and
- // audio dsp to DAC since the output on which the specified stream is playing
- // has exited standby.
+ // audio dsp to DAC since the specified output I/O handle has exited standby.
// returned status (from utils/Errors.h) can be:
// - NO_ERROR: successful operation, halFrames and dspFrames point to valid data
// - INVALID_OPERATION: Not supported on current hardware platform
@@ -135,8 +134,7 @@ public:
// necessary to check returned status before using the returned values.
static status_t getRenderPosition(audio_io_handle_t output,
uint32_t *halFrames,
- uint32_t *dspFrames,
- audio_stream_type_t stream = AUDIO_STREAM_DEFAULT);
+ uint32_t *dspFrames);
// return the number of input frames lost by HAL implementation, or 0 if the handle is invalid
static uint32_t getInputFramesLost(audio_io_handle_t ioHandle);