blob: 70435c23ae9831a01d0150ae79851ad9ae079fe9 [file] [log] [blame]
Phil Burk0433d8f2018-11-21 16:41:25 -08001<?xml version="1.0" encoding="utf-8"?>
2<merge xmlns:android="http://schemas.android.com/apk/res/android">
3
4 <LinearLayout
5 android:layout_width="match_parent"
6 android:layout_height="wrap_content"
7 android:orientation="vertical">
8
Phil Burkf03f3502019-03-11 14:11:42 -07009 <TextView android:id="@+id/toggle_stream_config"
10 android:layout_width="match_parent"
11 android:layout_height="wrap_content"
12 android:background="#C0F0E0"
13 android:clickable="true"
14 android:text="@string/hint_hide_settings" />
15
Phil Burka007fb32019-06-05 12:43:21 -070016 <LinearLayout
17 android:id="@+id/hideableView"
18 android:layout_width="match_parent"
19 android:layout_height="wrap_content"
20 android:orientation="vertical">
21
Phil Burk0433d8f2018-11-21 16:41:25 -080022 <TableLayout
23 android:id="@+id/optionTable"
24 android:layout_width="wrap_content"
25 android:layout_height="wrap_content"
Phil Burk071bf2d2019-03-13 19:42:33 -070026 android:shrinkColumns="1"
Phil Burk0433d8f2018-11-21 16:41:25 -080027 >
28
Phil Burk071bf2d2019-03-13 19:42:33 -070029 <TableRow>
Phil Burk0433d8f2018-11-21 16:41:25 -080030 <TextView
31 android:layout_width="wrap_content"
32 android:layout_height="wrap_content"
33 android:text="API:" />
34 <Spinner
35 android:id="@+id/spinnerNativeApi"
Phil Burk071bf2d2019-03-13 19:42:33 -070036 android:layout_width="wrap_content"
Phil Burk0433d8f2018-11-21 16:41:25 -080037 android:layout_height="wrap_content"
Phil Burk0433d8f2018-11-21 16:41:25 -080038 android:entries="@array/output_modes"
Phil Burkcd818322019-03-22 16:51:40 -070039 android:prompt="@string/api_prompt" />
Phil Burk0433d8f2018-11-21 16:41:25 -080040 <TextView
41 android:id="@+id/actualNativeApi"
42 android:layout_width="wrap_content"
43 android:layout_height="wrap_content"
44 android:text="\?" />
45 </TableRow>
46
Phil Burk2beb2c72019-09-05 18:51:14 -070047 <TableRow
48 android:layout_width="match_parent"
49 android:layout_height="wrap_content">
50
51 <TextView
52 android:layout_width="wrap_content"
53 android:layout_height="wrap_content"
54 android:text="Device: " />
55
56 <com.google.sample.audio_device.AudioDeviceSpinner
57 android:id="@+id/devices_spinner"
58 android:layout_width="wrap_content"
59 android:layout_height="wrap_content"/>
60
61 </TableRow>
62
Phil Burk071bf2d2019-03-13 19:42:33 -070063 <TableRow>
Phil Burk0433d8f2018-11-21 16:41:25 -080064
65 <TextView
66 android:layout_width="wrap_content"
67 android:layout_height="wrap_content"
68 android:text="@string/sample_rate_prompt" />
69
70 <Spinner
71 android:id="@+id/spinnerSampleRate"
72 android:layout_width="wrap_content"
73 android:layout_height="wrap_content"
74 android:entries="@array/sample_rates"
75 android:prompt="@string/sample_rate_prompt" />
76
77 <TextView
78 android:id="@+id/actualSampleRate"
79 android:layout_width="wrap_content"
80 android:layout_height="wrap_content"
81 android:text="\?" />
82
83 </TableRow>
84
Phil Burk071bf2d2019-03-13 19:42:33 -070085 <TableRow>
Phil Burk0433d8f2018-11-21 16:41:25 -080086
87 <TextView
88 android:layout_width="wrap_content"
89 android:layout_height="wrap_content"
90 android:text="@string/channel_count_prompt" />
91
92 <Spinner
93 android:id="@+id/spinnerChannelCount"
94 android:layout_width="wrap_content"
95 android:layout_height="wrap_content"
96 android:entries="@array/channel_counts"
97 android:prompt="@string/channel_count_prompt" />
98
99 <TextView
100 android:id="@+id/actualChannelCount"
101 android:layout_width="wrap_content"
102 android:layout_height="wrap_content"
103 android:text="\?" />
104
105 </TableRow>
106
Phil Burk071bf2d2019-03-13 19:42:33 -0700107 <TableRow>
Phil Burk0433d8f2018-11-21 16:41:25 -0800108
109 <TextView
110 android:layout_width="wrap_content"
111 android:layout_height="wrap_content"
112 android:text="@string/format_prompt"/>
113
114 <Spinner
115 android:id="@+id/spinnerFormat"
116 android:layout_width="wrap_content"
117 android:layout_height="wrap_content"
118 android:entries="@array/audio_formats"
119 android:prompt="@string/format_prompt" />
120
121 <TextView
122 android:id="@+id/actualAudioFormat"
123 android:layout_width="wrap_content"
124 android:layout_height="wrap_content"
125 android:text="\?" />
126
127 </TableRow>
128
Phil Burk071bf2d2019-03-13 19:42:33 -0700129 <TableRow>
Phil Burk0433d8f2018-11-21 16:41:25 -0800130
131 <TextView
132 android:layout_width="wrap_content"
133 android:layout_height="wrap_content"
134 android:text="Perf:" />
135
136 <Spinner
137 android:id="@+id/spinnerPerformanceMode"
138 android:layout_width="wrap_content"
139 android:layout_height="wrap_content"
140 android:entries="@array/performance_modes"
141 android:prompt="@string/performance_prompt" />
142
143 <TextView
144 android:id="@+id/actualPerformanceMode"
145 android:layout_width="wrap_content"
146 android:layout_height="wrap_content"
147 android:text="\?" />
148
149 </TableRow>
Phil Burk2beb2c72019-09-05 18:51:14 -0700150 </TableLayout>
Phil Burk0433d8f2018-11-21 16:41:25 -0800151
Phil Burk2beb2c72019-09-05 18:51:14 -0700152 <LinearLayout
153 android:layout_width="match_parent"
154 android:layout_height="wrap_content"
155 android:orientation="horizontal">
156
157 <CheckBox
158 android:id="@+id/requestedMMapEnable"
Phil Burk071bf2d2019-03-13 19:42:33 -0700159 android:layout_width="wrap_content"
160 android:layout_height="wrap_content"
Phil Burk2beb2c72019-09-05 18:51:14 -0700161 android:layout_marginRight="8sp"
162 android:text="MMAP" />
Phil Burk071bf2d2019-03-13 19:42:33 -0700163
Phil Burk2beb2c72019-09-05 18:51:14 -0700164 <TextView
165 android:id="@+id/actualMMap"
Phil Burk071bf2d2019-03-13 19:42:33 -0700166 android:layout_width="wrap_content"
Phil Burk2beb2c72019-09-05 18:51:14 -0700167 android:layout_height="wrap_content"
168 android:layout_marginRight="12sp"
169 android:text="\?" />
Phil Burk071bf2d2019-03-13 19:42:33 -0700170
Phil Burk2beb2c72019-09-05 18:51:14 -0700171 <CheckBox
172 android:id="@+id/requestedExclusiveMode"
173 android:layout_width="wrap_content"
174 android:layout_height="wrap_content"
175 android:layout_marginRight="8sp"
176 android:text="Exclusive" />
177
178 <TextView
179 android:id="@+id/actualExclusiveMode"
180 android:layout_width="wrap_content"
181 android:layout_height="wrap_content"
182 android:layout_marginRight="15sp"
183 android:text="\?" />
184
185 </LinearLayout>
186
187 <LinearLayout
188 android:layout_width="match_parent"
189 android:layout_height="wrap_content"
190 android:orientation="horizontal">
191
192 <CheckBox
193 android:id="@+id/requestAudioEffect"
194 android:layout_width="wrap_content"
195 android:layout_height="wrap_content"
196 android:layout_marginRight="10sp"
197 android:text="Effect" />
198
199 <TextView
200 android:id="@+id/sessionId"
201 android:layout_width="wrap_content"
202 android:layout_height="wrap_content"
203 android:text="\?" />
204
205 </LinearLayout>
Phil Burk071bf2d2019-03-13 19:42:33 -0700206
Phil Burka007fb32019-06-05 12:43:21 -0700207 <LinearLayout
208 android:layout_width="match_parent"
209 android:layout_height="wrap_content"
210 android:orientation="horizontal">
211
212 <TextView
213 android:layout_width="wrap_content"
214 android:layout_height="wrap_content"
215 android:text="Convert:" />
216 <CheckBox
217 android:id="@+id/checkChannelConversion"
218 android:layout_width="wrap_content"
219 android:layout_height="wrap_content"
220 android:text="Chan, " />
221 <CheckBox
222 android:id="@+id/checkFormatConversion"
223 android:layout_width="wrap_content"
224 android:layout_height="wrap_content"
225 android:text="Format, " />
226
227 <TextView
228 android:layout_width="wrap_content"
229 android:layout_height="wrap_content"
230 android:text="@string/src_prompt" />
231 <Spinner
232 android:id="@+id/spinnerSRCQuality"
233 android:layout_width="wrap_content"
234 android:layout_height="wrap_content"
235 android:entries="@array/conversion_qualities"
236 android:prompt="@string/src_prompt" />
237
238 </LinearLayout>
239
Phil Burka007fb32019-06-05 12:43:21 -0700240 </LinearLayout>
Phil Burk0433d8f2018-11-21 16:41:25 -0800241
Phil Burk0433d8f2018-11-21 16:41:25 -0800242
243 <TextView
244 android:id="@+id/streamInfo"
245 android:layout_width="wrap_content"
246 android:layout_height="wrap_content"
247 android:text="info:" />
248
Phil Burkfb358af2019-03-05 12:42:35 -0800249 <TextView
250 android:id="@+id/statusView"
251 android:layout_width="match_parent"
252 android:layout_height="wrap_content"
253 android:lines="3"
254 android:text="@string/init_status" />
Phil Burk0433d8f2018-11-21 16:41:25 -0800255 </LinearLayout>
256
257</merge>