diff options
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 e162b36..2c48bbf 100644 --- a/include/media/AudioTrack.h +++ b/include/media/AudioTrack.h @@ -451,7 +451,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; |