Home
last modified time | relevance | path

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

/external/tinyalsa/
Dtinyplay.c194 int can_play; in sample_is_playable() local
202 can_play = check_param(params, PCM_PARAM_RATE, rate, "Sample rate", "Hz"); in sample_is_playable()
203 can_play &= check_param(params, PCM_PARAM_CHANNELS, channels, "Sample", " channels"); in sample_is_playable()
204 can_play &= check_param(params, PCM_PARAM_SAMPLE_BITS, bits, "Bitrate", " bits"); in sample_is_playable()
205 can_play &= check_param(params, PCM_PARAM_PERIOD_SIZE, period_size, "Period size", " frames"); in sample_is_playable()
206 can_play &= check_param(params, PCM_PARAM_PERIODS, period_count, "Period count", " periods"); in sample_is_playable()
210 return can_play; in sample_is_playable()
Dtinyhostless.c180 int can_play; in check_params() local
205 can_play = check_param(params, PCM_PARAM_RATE, config->rate, "Sample rate", "Hz"); in check_params()
206 can_play &= check_param(params, PCM_PARAM_CHANNELS, config->channels, "Sample", " channels"); in check_params()
207 can_play &= check_param(params, PCM_PARAM_SAMPLE_BITS, bits, "Bitrate", " bits"); in check_params()
208can_play &= check_param(params, PCM_PARAM_PERIOD_SIZE, config->period_size, "Period size", " frame… in check_params()
209can_play &= check_param(params, PCM_PARAM_PERIODS, config->period_count, "Period count", " periods… in check_params()
213 return can_play; in check_params()
/external/tinyalsa_new/utils/
Dtinyplay.c411 int can_play; in sample_is_playable() local
419 can_play = check_param(params, PCM_PARAM_RATE, cmd->config.rate, "sample rate", "hz"); in sample_is_playable()
420can_play &= check_param(params, PCM_PARAM_CHANNELS, cmd->config.channels, "sample", " channels"); in sample_is_playable()
421 can_play &= check_param(params, PCM_PARAM_SAMPLE_BITS, cmd->bits, "bits", " bits"); in sample_is_playable()
422 can_play &= check_param(params, PCM_PARAM_PERIOD_SIZE, cmd->config.period_size, "period size", in sample_is_playable()
424 can_play &= check_param(params, PCM_PARAM_PERIODS, cmd->config.period_count, "period count", in sample_is_playable()
429 return can_play; in sample_is_playable()
/external/adhd/cras/src/server/
Dcras_bt_player.h37 bool can_play; member
Dcras_bt_player.c79 DBUS_TYPE_BOOLEAN_AS_STRING, &player->can_play); in cras_bt_add_player()
121 .can_play = 0,