Home
last modified time | relevance | path

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

/src/usr.sbin/virtual_oss/virtual_oss/
H A Dmain.c73 vclient_sample_bytes(vclient_t *pvc) in vclient_sample_bytes() function
99 mod = pvc->channels * vclient_sample_bytes(pvc); in vclient_output_delay()
102 size = (size / 8) * vclient_sample_bytes(pvc); in vclient_output_delay()
127 return (pvc->channels * samples_scaled * vclient_sample_bytes(pvc)); in vclient_bufsize_scaled()
143 retval = pvc->channels * samples_scaled * vclient_sample_bytes(pvc); in vclient_bufsize_consumed()
373 mod = pvc->channels * vclient_sample_bytes(pvc); in vclient_setup_buffers()
410 ((uint64_t)pvc->sample_rate * (uint64_t)vclient_sample_bytes(pvc)); in vclient_setup_buffers()
570 mod = pvc->channels * vclient_sample_bytes(pvc); in vclient_generate_wav_header_locked()
650 len = pvc->sample_rate * pvc->channels * vclient_sample_bytes(pvc); in vclient_generate_wav_header_locked()
659 len = pvc->channels * vclient_sample_bytes(pvc); in vclient_generate_wav_header_locked()
[all …]
H A Dhttpd.c247 const uint32_t mod = pvc->channels * vclient_sample_bytes(pvc); in voss_httpd_send_rtp()
308 mod = pvc->channels * vclient_sample_bytes(pvc); in voss_http_generate_wav_header()
387 len = pvc->sample_rate * pvc->channels * vclient_sample_bytes(pvc); in voss_http_generate_wav_header()
396 len = pvc->channels * vclient_sample_bytes(pvc); in voss_http_generate_wav_header()
403 len = vclient_sample_bytes(pvc) * 8; in voss_http_generate_wav_header()
412 dummy_len = pvc->sample_rate * pvc->channels * vclient_sample_bytes(pvc); in voss_http_generate_wav_header()
664 pvc->channels * vclient_sample_bytes(pvc)); in voss_httpd_buflimit()
H A Dvirtual_oss.c468 shift_fmt = pvp->bits - (vclient_sample_bytes(pvc) * 8); in virtual_oss_process()
546 shift_fmt = pvp->bits - (vclient_sample_bytes(pvc) * 8); in virtual_oss_process()
602 shift_fmt = pvp->bits - (vclient_sample_bytes(pvc) * 8); in virtual_oss_process()
796 shift_fmt = pvp->bits - (vclient_sample_bytes(pvc) * 8); in virtual_oss_process()
H A Dint.h276 extern uint32_t vclient_sample_bytes(vclient_t *);