summaryrefslogtreecommitdiffstats
path: root/include/system/audio.h
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2014-05-23 22:31:24 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-05-23 22:31:24 +0000
commit7aa8cdfb317dcb7efb7127b070526df09da05377 (patch)
tree799a71da135d26b751317876cf99e482033702cb /include/system/audio.h
parentc37297f3318617849e5930870afb18bbaf91ddb5 (diff)
parent21157abcd932e899032689dba120d4f7cb08aa23 (diff)
downloadsystem_core-7aa8cdfb317dcb7efb7127b070526df09da05377.zip
system_core-7aa8cdfb317dcb7efb7127b070526df09da05377.tar.gz
system_core-7aa8cdfb317dcb7efb7127b070526df09da05377.tar.bz2
am 21157abc: am 8814bd1d: Merge "include: cleanup for -Wsystem-header"
* commit '21157abcd932e899032689dba120d4f7cb08aa23': include: cleanup for -Wsystem-header
Diffstat (limited to 'include/system/audio.h')
-rw-r--r--include/system/audio.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/system/audio.h b/include/system/audio.h
index f36befb..8838e71 100644
--- a/include/system/audio.h
+++ b/include/system/audio.h
@@ -434,6 +434,14 @@ typedef struct {
static const audio_offload_info_t AUDIO_INFO_INITIALIZER = {
version: AUDIO_OFFLOAD_INFO_VERSION_CURRENT,
size: sizeof(audio_offload_info_t),
+ sample_rate: 0,
+ channel_mask: 0,
+ format: AUDIO_FORMAT_DEFAULT,
+ stream_type: AUDIO_STREAM_VOICE_CALL,
+ bit_rate: 0,
+ duration_us: 0,
+ has_video: false,
+ is_streaming: false
};
static inline bool audio_is_output_device(audio_devices_t device)