OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:sparams
(Results
1 - 4
of
4
) sorted by null
/hardware/qcom/audio/legacy/libalsa-intf/
aplay.c
86
struct snd_pcm_sw_params *
sparams
;
local
133
sparams
= (struct snd_pcm_sw_params*) calloc(1, sizeof(struct snd_pcm_sw_params));
134
if (!
sparams
) {
139
sparams
->tstamp_mode = SNDRV_PCM_TSTAMP_NONE;
140
sparams
->period_step = 1;
142
sparams
->avail_min = pcm->period_size/(channels * 2) ;
143
sparams
->start_threshold = pcm->period_size/(channels * 2) ;
144
sparams
->stop_threshold = pcm->buffer_size ;
145
sparams
->xfer_align = pcm->period_size/(channels * 2) ; /* needed for old kernels */
147
sparams
->silence_size = 0
[
all
...]
arec.c
90
struct snd_pcm_sw_params *
sparams
;
local
137
sparams
= (struct snd_pcm_sw_params*) calloc(1, sizeof(struct snd_pcm_sw_params));
138
if (!
sparams
) {
142
sparams
->tstamp_mode = SNDRV_PCM_TSTAMP_NONE;
143
sparams
->period_step = 1;
146
sparams
->avail_min = pcm->period_size/2;
147
sparams
->xfer_align = pcm->period_size/2;
149
sparams
->avail_min = pcm->period_size/8;
150
sparams
->xfer_align = pcm->period_size/8;
152
sparams
->avail_min = pcm->period_size/12
[
all
...]
alsa_pcm.c
347
int param_set_sw_params(struct pcm *pcm, struct snd_pcm_sw_params *
sparams
)
349
if (ioctl(pcm->fd, SNDRV_PCM_IOCTL_SW_PARAMS,
sparams
)) {
352
pcm->sw_p =
sparams
;
762
struct snd_pcm_sw_params
sparams
;
local
/external/tinyalsa/
pcm.c
607
struct snd_pcm_sw_params
sparams
;
local
686
memset(&
sparams
, 0, sizeof(
sparams
));
687
sparams
.tstamp_mode = SNDRV_PCM_TSTAMP_ENABLE;
688
sparams
.period_step = 1;
692
pcm->config.start_threshold =
sparams
.start_threshold = 1;
694
pcm->config.start_threshold =
sparams
.start_threshold =
697
sparams
.start_threshold = config->start_threshold;
702
pcm->config.stop_threshold =
sparams
.stop_threshold =
705
pcm->config.stop_threshold =
sparams
.stop_threshold
[
all
...]
Completed in 57 milliseconds