Lines Matching refs:nread
1117 snd_pcm_sframes_t nread; in alsa_run_in() local
1126 nread = FF(snd_pcm_readi) (alsa->handle, src, len); in alsa_run_in()
1128 if (nread <= 0) { in alsa_run_in()
1129 switch (nread) { in alsa_run_in()
1138 alsa_logerr (nread, "Failed to read %ld frames\n", len); in alsa_run_in()
1151 nread, in alsa_run_in()
1160 hw->conv (dst, src, nread, &nominal_volume); in alsa_run_in()
1162 src = advance (src, nread << hwshift); in alsa_run_in()
1163 dst += nread; in alsa_run_in()
1165 read_samples += nread; in alsa_run_in()
1166 len -= nread; in alsa_run_in()