diff options
author | Glenn Kasten <gkasten@google.com> | 2014-03-25 17:44:59 -0700 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2014-03-26 14:56:54 -0700 |
commit | 142f519aa1acd5804d111e60d100f170fed28405 (patch) | |
tree | aaffc4a234a4b0a5e719374056edf12eb2333b29 /include | |
parent | ecdca392ed40e89a6ef14b86446e952c35497ac4 (diff) | |
download | frameworks_av-142f519aa1acd5804d111e60d100f170fed28405.zip frameworks_av-142f519aa1acd5804d111e60d100f170fed28405.tar.gz frameworks_av-142f519aa1acd5804d111e60d100f170fed28405.tar.bz2 |
Use symbol AUDIO_IO_HANDLE_NONE from <system/audio.h>
Change-Id: Id6b1aa17558eb73e17f22b8eab6cd02e00a96dff
Diffstat (limited to 'include')
-rw-r--r-- | include/media/AudioEffect.h | 6 | ||||
-rw-r--r-- | include/media/AudioTrack.h | 3 |
2 files changed, 5 insertions, 4 deletions
diff --git a/include/media/AudioEffect.h b/include/media/AudioEffect.h index 01dcbb2..f98002d 100644 --- a/include/media/AudioEffect.h +++ b/include/media/AudioEffect.h @@ -231,7 +231,7 @@ public: effect_callback_t cbf = NULL, void* user = NULL, int sessionId = AUDIO_SESSION_OUTPUT_MIX, - audio_io_handle_t io = 0 + audio_io_handle_t io = AUDIO_IO_HANDLE_NONE ); /* Constructor. @@ -243,7 +243,7 @@ public: effect_callback_t cbf = NULL, void* user = NULL, int sessionId = AUDIO_SESSION_OUTPUT_MIX, - audio_io_handle_t io = 0 + audio_io_handle_t io = AUDIO_IO_HANDLE_NONE ); /* Terminates the AudioEffect and unregisters it from AudioFlinger. @@ -265,7 +265,7 @@ public: effect_callback_t cbf = NULL, void* user = NULL, int sessionId = AUDIO_SESSION_OUTPUT_MIX, - audio_io_handle_t io = 0 + audio_io_handle_t io = AUDIO_IO_HANDLE_NONE ); /* Result of constructing the AudioEffect. This must be checked diff --git a/include/media/AudioTrack.h b/include/media/AudioTrack.h index d3168ba..3dadf52 100644 --- a/include/media/AudioTrack.h +++ b/include/media/AudioTrack.h @@ -450,7 +450,8 @@ public: * none. * * Returned value: - * handle on audio hardware output + * handle on audio hardware output, or AUDIO_IO_HANDLE_NONE if the + * track needed to be re-created but that failed */ audio_io_handle_t getOutput() const; |