Lines Matching refs:bytes_per_frame
22 int bytes_per_frame) in change_volume() argument
29 if (bytes_per_frame == 4) { in change_volume()
42 } else if (bytes_per_frame == 6) { in change_volume()
66 struct urb *urb_out, int bytes_per_frame) in create_impulse_test_signal() argument
68 int frames = urb_out->transfer_buffer_length / bytes_per_frame; in create_impulse_test_signal()
70 if (bytes_per_frame == 4) { in create_impulse_test_signal()
81 } else if (bytes_per_frame == 6) { in create_impulse_test_signal()
87 for (j = 0; j < bytes_per_frame / 2; ++j) in create_impulse_test_signal()
90 for (; j < bytes_per_frame; ++j) in create_impulse_test_signal()
93 pi += bytes_per_frame; in create_impulse_test_signal()
94 po += bytes_per_frame; in create_impulse_test_signal()
98 ((unsigned char *)(urb_out->transfer_buffer))[bytes_per_frame - in create_impulse_test_signal()
109 int volume, int bytes_per_frame) in add_monitor_signal() argument
114 if (bytes_per_frame == 4) { in add_monitor_signal()
145 const int bytes_per_frame = in submit_audio_out_urb() local
183 fsize *= bytes_per_frame; in submit_audio_out_urb()
196 urb_frames = urb_size / bytes_per_frame; in submit_audio_out_urb()
220 line6pcm->out.pos * bytes_per_frame, in submit_audio_out_urb()
221 len * bytes_per_frame); in submit_audio_out_urb()
223 len * bytes_per_frame, runtime->dma_area, in submit_audio_out_urb()
224 (urb_frames - len) * bytes_per_frame); in submit_audio_out_urb()
231 line6pcm->out.pos * bytes_per_frame, in submit_audio_out_urb()
240 bytes_per_frame); in submit_audio_out_urb()
250 bytes_per_frame); in submit_audio_out_urb()
264 bytes_per_frame); in submit_audio_out_urb()
309 const int bytes_per_frame = in audio_out_callback() local
336 length / bytes_per_frame; in audio_out_callback()