diff options
Diffstat (limited to 'include/media/IAudioFlinger.h')
-rw-r--r-- | include/media/IAudioFlinger.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/media/IAudioFlinger.h b/include/media/IAudioFlinger.h index bdd0142..5170a87 100644 --- a/include/media/IAudioFlinger.h +++ b/include/media/IAudioFlinger.h @@ -187,6 +187,13 @@ public: audio_io_handle_t dstOutput) = 0; virtual audio_module_handle_t loadHwModule(const char *name) = 0; + + // helpers for android.media.AudioManager.getProperty(), see description there for meaning + // FIXME move these APIs to AudioPolicy to permit a more accurate implementation + // that looks on primary device for a stream with fast flag, primary flag, or first one. + virtual int32_t getPrimaryOutputSamplingRate() = 0; + virtual int32_t getPrimaryOutputFrameCount() = 0; + }; |