Lines Matching refs:u
74 ioFormat.u.raw_audio.byte_order = media_raw_audio_format::wildcard.byte_order; in getRequiredInputFormat()
84 ioFormat.u.raw_audio.format = p->inputFormat.format; in getRequiredInputFormat()
85 ioFormat.u.raw_audio.channel_count = p->inputFormat.channel_count; in getRequiredInputFormat()
89 ioFormat.u.raw_audio.buffer_size = media_raw_audio_format::wildcard.buffer_size; in getRequiredInputFormat()
93 ioFormat.u.raw_audio.frame_rate = media_raw_audio_format::wildcard.frame_rate; in getRequiredInputFormat()
111 media_raw_audio_format& f = ioFormat.u.raw_audio; in getPreferredInputFormat()
130 f.format = output().format.u.raw_audio.format; in getPreferredInputFormat()
132 f.channel_count = output().format.u.raw_audio.channel_count; in getPreferredInputFormat()
136 frames_per_buffer(output().format.u.raw_audio); in getPreferredInputFormat()
137 f.frame_rate = output().format.u.raw_audio.frame_rate; in getPreferredInputFormat()
150 ioFormat.u.raw_audio.format = media_raw_audio_format::wildcard.format; in getRequiredOutputFormat()
151 ioFormat.u.raw_audio.channel_count = media_raw_audio_format::wildcard.channel_count; in getRequiredOutputFormat()
159 ioFormat.u.raw_audio.format = p->outputFormat.format; in getRequiredOutputFormat()
160 ioFormat.u.raw_audio.channel_count = p->outputFormat.channel_count; in getRequiredOutputFormat()
163 ioFormat.u.raw_audio.buffer_size = media_raw_audio_format::wildcard.buffer_size; in getRequiredOutputFormat()
167 ioFormat.u.raw_audio.frame_rate = media_raw_audio_format::wildcard.frame_rate; in getRequiredOutputFormat()
189 ioFormat.u.raw_audio.format = p->outputFormat.format; in getPreferredOutputFormat()
191 ioFormat.u.raw_audio.channel_count = p->outputFormat.channel_count; in getPreferredOutputFormat()
202 if(ioFormat.u.raw_audio.format == w.format) in getPreferredOutputFormat()
203 ioFormat.u.raw_audio.format = input().format.u.raw_audio.format; in getPreferredOutputFormat()
204 if(ioFormat.u.raw_audio.channel_count == w.channel_count) in getPreferredOutputFormat()
205 ioFormat.u.raw_audio.channel_count = input().format.u.raw_audio.channel_count; in getPreferredOutputFormat()
207 ioFormat.u.raw_audio.buffer_size = in getPreferredOutputFormat()
208 bytes_per_frame(ioFormat.u.raw_audio) * in getPreferredOutputFormat()
209 frames_per_buffer(input().format.u.raw_audio); in getPreferredOutputFormat()
210 …red output buffer_size: %ld (%" B_PRIxSIZE ")\n", ioFormat.u.raw_audio.buffer_size, ioFormat.u.raw… in getPreferredOutputFormat()
211 ioFormat.u.raw_audio.frame_rate = input().format.u.raw_audio.frame_rate; in getPreferredOutputFormat()
234 ioProposedFormat.u.raw_audio.format != w.format && in validateProposedInputFormat()
235 ioProposedFormat.u.raw_audio.channel_count != w.channel_count) { in validateProposedInputFormat()
238 bytes_per_frame(ioProposedFormat.u.raw_audio) * in validateProposedInputFormat()
239 frames_per_buffer(output().format.u.raw_audio); in validateProposedInputFormat()
241 if(ioProposedFormat.u.raw_audio.buffer_size != target_buffer_size) { in validateProposedInputFormat()
242 if(ioProposedFormat.u.raw_audio.buffer_size != w.buffer_size) in validateProposedInputFormat()
245 ioProposedFormat.u.raw_audio.buffer_size = target_buffer_size; in validateProposedInputFormat()
250 if(ioProposedFormat.u.raw_audio.frame_rate != output().format.u.raw_audio.frame_rate) { in validateProposedInputFormat()
251 if(ioProposedFormat.u.raw_audio.frame_rate != w.frame_rate) in validateProposedInputFormat()
254 ioProposedFormat.u.raw_audio.frame_rate = output().format.u.raw_audio.frame_rate; in validateProposedInputFormat()
281 ioProposedFormat.u.raw_audio.format != w.format && in validateProposedOutputFormat()
282 ioProposedFormat.u.raw_audio.channel_count != w.channel_count) { in validateProposedOutputFormat()
285 bytes_per_frame(ioProposedFormat.u.raw_audio) * in validateProposedOutputFormat()
286 frames_per_buffer(input().format.u.raw_audio); in validateProposedOutputFormat()
288 if(ioProposedFormat.u.raw_audio.buffer_size != target_buffer_size) { in validateProposedOutputFormat()
289 if(ioProposedFormat.u.raw_audio.buffer_size != w.buffer_size) in validateProposedOutputFormat()
292 ioProposedFormat.u.raw_audio.buffer_size = target_buffer_size; in validateProposedOutputFormat()
297 if(ioProposedFormat.u.raw_audio.frame_rate != input().format.u.raw_audio.frame_rate) { in validateProposedOutputFormat()
298 if(ioProposedFormat.u.raw_audio.frame_rate != w.frame_rate) in validateProposedOutputFormat()
301 ioProposedFormat.u.raw_audio.frame_rate = input().format.u.raw_audio.frame_rate; in validateProposedOutputFormat()
319 media_multi_audio_format f = input().format.u.raw_audio; in SetParameterValue()
329 media_multi_audio_format f = input().format.u.raw_audio; in SetParameterValue()
339 media_multi_audio_format f = output().format.u.raw_audio; in SetParameterValue()
349 media_multi_audio_format f = output().format.u.raw_audio; in SetParameterValue()
379 p->inputFormat = format.u.raw_audio; in Connected()
397 p->outputFormat = format.u.raw_audio; in Connect()
414 f.u.raw_audio = format; in _attemptInputFormatChange()
433 f.u.raw_audio = format; in _attemptOutputFormatChange()
502 (void*)&input().format.u.raw_audio.format, in _broadcastInputFormatParams()
507 (void*)&input().format.u.raw_audio.channel_count, in _broadcastInputFormatParams()
521 (void*)&output().format.u.raw_audio.format, in _broadcastOutputFormatParams()
526 (void*)&output().format.u.raw_audio.channel_count, in _broadcastOutputFormatParams()