Home
last modified time | relevance | path

Searched refs:sampsz (Results 1 – 5 of 5) sorted by relevance

/dports/audio/baresip/baresip-0.5.8/modules/audiounit/
H A Drecorder.c24 uint32_t sampsz; member
72 abl.mBuffers[0].mDataByteSize = inNumberFrames * st->sampsz; in input_callback()
86 abl.mBuffers[0].mDataByteSize/st->sampsz, arg); in input_callback()
195 st->sampsz = (uint32_t)aufmt_sample_size(prm->fmt); in audiounit_recorder_alloc()
207 fmt.mBitsPerChannel = 8 * st->sampsz; in audiounit_recorder_alloc()
209 fmt.mBytesPerFrame = st->sampsz * prm->ch; in audiounit_recorder_alloc()
211 fmt.mBytesPerPacket = st->sampsz * prm->ch; in audiounit_recorder_alloc()
H A Dplayer.c22 uint32_t sampsz; member
73 wh(ab->mData, ab->mDataByteSize/st->sampsz, arg); in output_callback()
146 st->sampsz = (uint32_t)aufmt_sample_size(prm->fmt); in audiounit_player_alloc()
158 fmt.mBitsPerChannel = 8 * st->sampsz; in audiounit_player_alloc()
160 fmt.mBytesPerFrame = st->sampsz * prm->ch; in audiounit_player_alloc()
162 fmt.mBytesPerPacket = st->sampsz * prm->ch; in audiounit_player_alloc()
/dports/audio/baresip/baresip-0.5.8/modules/pulse/
H A Dplayer.c23 size_t sampsz; member
50 const size_t num_bytes = st->sampc * st->sampsz; in write_thread()
103 st->sampsz = aufmt_sample_size(prm->fmt); in pulse_player_alloc()
105 st->sampv = mem_alloc(st->sampsz * st->sampc, NULL); in pulse_player_alloc()
H A Drecorder.c23 size_t sampsz; member
51 const size_t num_bytes = st->sampc * st->sampsz; in read_thread()
142 st->sampsz = aufmt_sample_size(prm->fmt); in pulse_recorder_alloc()
145 st->sampv = mem_alloc(st->sampsz * st->sampc, NULL); in pulse_recorder_alloc()
/dports/audio/baresip/baresip-0.5.8/modules/rst/
H A Daudio.c31 size_t sampsz; member
64 size_t num_bytes = st->sampc * st->sampsz; in play_thread()
206 st->sampsz = aufmt_sample_size(prm->fmt); in alloc_handler()
217 prm->srate * prm->ch * st->sampsz, in alloc_handler()
218 prm->srate * prm->ch * st->sampsz * 20); in alloc_handler()