Home
last modified time | relevance | path

Searched refs:fsize (Results 1 – 4 of 4) sorted by relevance

/sound/core/
Dpcm_timer.c34 unsigned long rate, mult, fsize, l, post; in snd_pcm_timer_resolution_change() local
44 fsize = runtime->period_size; in snd_pcm_timer_resolution_change()
45 if (snd_BUG_ON(!fsize)) in snd_pcm_timer_resolution_change()
47 l = gcd(rate, fsize); in snd_pcm_timer_resolution_change()
49 fsize /= l; in snd_pcm_timer_resolution_change()
51 while ((mult * fsize) / fsize != mult) { in snd_pcm_timer_resolution_change()
62 runtime->timer_resolution = (mult * fsize / rate) * post; in snd_pcm_timer_resolution_change()
/sound/usb/line6/
Dcapture.c88 void line6_capture_copy(struct snd_line6_pcm *line6pcm, char *fbuf, int fsize) in line6_capture_copy() argument
94 int frames = fsize / bytes_per_frame; in line6_capture_copy()
122 line6pcm->in.pos_done * bytes_per_frame, fbuf, fsize); in line6_capture_copy()
165 int fsize; in audio_in_callback() local
174 fsize = fin->actual_length; in audio_in_callback()
176 if (fsize > line6pcm->max_packet_size) { in audio_in_callback()
179 fsize, line6pcm->max_packet_size); in audio_in_callback()
182 length += fsize; in audio_in_callback()
186 line6pcm->prev_fsize = fsize; in audio_in_callback()
190 fsize > 0) in audio_in_callback()
[all …]
Dplayback.c170 int fsize = 0; in submit_audio_out_urb() local
174 fsize = line6pcm->prev_fsize; in submit_audio_out_urb()
175 if (fsize == 0) { in submit_audio_out_urb()
181 fsize = n * bytes_per_frame; in submit_audio_out_urb()
185 fout->length = fsize; in submit_audio_out_urb()
186 urb_size += fsize; in submit_audio_out_urb()
Dcapture.h23 int fsize);