Searched refs:bytes_per_frame (Results 1 – 8 of 8) sorted by relevance
| /linux/sound/usb/line6/ |
| H A D | playback.c | 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() [all …]
|
| H A D | capture.c | 89 const int bytes_per_frame = in line6_capture_copy() local 92 int frames = fsize / bytes_per_frame; in line6_capture_copy() 108 line6pcm->in.pos_done * bytes_per_frame, fbuf, in line6_capture_copy() 109 len * bytes_per_frame); in line6_capture_copy() 110 memcpy(runtime->dma_area, fbuf + len * bytes_per_frame, in line6_capture_copy() 111 (frames - len) * bytes_per_frame); in line6_capture_copy() 120 line6pcm->in.pos_done * bytes_per_frame, fbuf, fsize); in line6_capture_copy()
|
| /linux/drivers/staging/most/dim2/ |
| H A D | hal.h | 53 u16 bytes_per_frame; /*< Synchronous bytes per frame. */ member 68 u16 dim_norm_sync_buffer_size(u16 buf_size, u16 bytes_per_frame); 80 u16 bytes_per_frame);
|
| /linux/sound/soc/codecs/ |
| H A D | rt5677-spi.c | 215 size_t bytes_per_frame = frames_to_bytes(runtime, 1); in rt5677_spi_copy_block() local 219 if (begin > end || runtime->dma_bytes < 2 * bytes_per_frame) { in rt5677_spi_copy_block() 233 if (end - begin > runtime->dma_bytes - bytes_per_frame) in rt5677_spi_copy_block() 234 begin = end - (runtime->dma_bytes - bytes_per_frame); in rt5677_spi_copy_block()
|
| /linux/sound/usb/6fire/ |
| H A D | pcm.c | 205 int bytes_per_frame = alsa_rt->channels << 2; in usb6fire_pcm_capture() local 225 memcpy(dest, src, bytes_per_frame); in usb6fire_pcm_capture() 252 int bytes_per_frame = alsa_rt->channels << 2; in usb6fire_pcm_playback() local 273 memcpy(dest, src, bytes_per_frame); in usb6fire_pcm_playback()
|
| /linux/sound/pci/mixart/ |
| H A D | mixart_core.h | 394 u32 bytes_per_frame; member
|
| /linux/sound/pci/asihpi/ |
| H A D | hpi.h | 1286 u16 hpi_instream_ancillary_reset(u32 h_instream, u16 bytes_per_frame,
|
| H A D | hpifunc.c | 1026 u16 hpi_instream_ancillary_reset(u32 h_instream, u16 bytes_per_frame, in hpi_instream_ancillary_reset() argument 1035 hm.u.d.u.data.format.attributes = bytes_per_frame; in hpi_instream_ancillary_reset()
|