summaryrefslogtreecommitdiffstats
path: root/include/media/AudioSystem.h
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2014-07-03 10:17:10 -0700
committerGlenn Kasten <gkasten@google.com>2015-03-13 16:44:25 -0700
commitf5e837e3c7d4b1cee3b18d740bf7d07f4d1ddc1c (patch)
treedfc142f5ac173cb8b168cb6e31115c3be23e3a98 /include/media/AudioSystem.h
parent802a568f77b9a372537e4216b2a7cbb203958a87 (diff)
downloadframeworks_av-f5e837e3c7d4b1cee3b18d740bf7d07f4d1ddc1c.zip
frameworks_av-f5e837e3c7d4b1cee3b18d740bf7d07f4d1ddc1c.tar.gz
frameworks_av-f5e837e3c7d4b1cee3b18d740bf7d07f4d1ddc1c.tar.bz2
Add FIXME to deprecate all APIs that assume a route
Change-Id: I84e160e3945004338c808edd86b5dbbca1e12874
Diffstat (limited to 'include/media/AudioSystem.h')
-rw-r--r--include/media/AudioSystem.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/media/AudioSystem.h b/include/media/AudioSystem.h
index 2ab3dd6..ba63065 100644
--- a/include/media/AudioSystem.h
+++ b/include/media/AudioSystem.h
@@ -98,10 +98,13 @@ public:
// Returned samplingRate and frameCount output values are guaranteed
// to be non-zero if status == NO_ERROR
+ // FIXME This API assumes a route, and so should be deprecated.
static status_t getOutputSamplingRate(uint32_t* samplingRate,
audio_stream_type_t stream);
+ // FIXME This API assumes a route, and so should be deprecated.
static status_t getOutputFrameCount(size_t* frameCount,
audio_stream_type_t stream);
+ // FIXME This API assumes a route, and so should be deprecated.
static status_t getOutputLatency(uint32_t* latency,
audio_stream_type_t stream);
static status_t getSamplingRate(audio_io_handle_t output,
@@ -116,6 +119,7 @@ public:
uint32_t* latency);
// return status NO_ERROR implies *buffSize > 0
+ // FIXME This API assumes a route, and so should deprecated.
static status_t getInputBufferSize(uint32_t sampleRate, audio_format_t format,
audio_channel_mask_t channelMask, size_t* buffSize);