Searched refs:hwparams (Results 1 – 11 of 11) sorted by relevance
/third_party/alsa-utils/aplay/ |
D | aplay.c | 103 } hwparams, rhwparams; variable 857 hwparams = rhwparams; in main() 1073 hwparams.channels = channels; in test_wavefile() 1076 if (hwparams.format != DEFAULT_FORMAT && in test_wavefile() 1077 hwparams.format != SND_PCM_FORMAT_U8) in test_wavefile() 1079 hwparams.format = SND_PCM_FORMAT_U8; in test_wavefile() 1086 if (hwparams.format != DEFAULT_FORMAT && in test_wavefile() 1087 hwparams.format != native_format) in test_wavefile() 1090 hwparams.format = native_format; in test_wavefile() 1093 switch (TO_CPU_SHORT(f->byte_p_spl, big_endian) / hwparams.channels) { in test_wavefile() [all …]
|
/third_party/pulseaudio/src/modules/alsa/ |
D | alsa-util.c | 51 static int set_format(snd_pcm_t *pcm_handle, snd_pcm_hw_params_t *hwparams, pa_sample_format_t *f) { in set_format() argument 89 pa_assert(hwparams); in set_format() 92 if ((ret = snd_pcm_hw_params_set_format(pcm_handle, hwparams, format_trans[*f])) >= 0) in set_format() 122 if ((ret = snd_pcm_hw_params_set_format(pcm_handle, hwparams, format_trans[*f])) >= 0) in set_format() 134 if ((ret = snd_pcm_hw_params_set_format(pcm_handle, hwparams, format_trans[*f])) >= 0) in set_format() 145 static int set_period_size(snd_pcm_t *pcm_handle, snd_pcm_hw_params_t *hwparams, snd_pcm_uframes_t … in set_period_size() argument 150 pa_assert(hwparams); in set_period_size() 154 if (snd_pcm_hw_params_set_period_size_near(pcm_handle, hwparams, &s, &d) < 0) { in set_period_size() 157 if (snd_pcm_hw_params_set_period_size_near(pcm_handle, hwparams, &s, &d) < 0) { in set_period_size() 160 if ((ret = snd_pcm_hw_params_set_period_size_near(pcm_handle, hwparams, &s, &d)) < 0) { in set_period_size() [all …]
|
/third_party/pulseaudio/src/tests/ |
D | alsa-time-test.c | 25 snd_pcm_hw_params_t *hwparams; in main() local 51 snd_pcm_hw_params_alloca(&hwparams); in main() 74 r = snd_pcm_hw_params_any(pcm, hwparams); in main() 77 r = snd_pcm_hw_params_set_rate_resample(pcm, hwparams, 0); in main() 80 r = snd_pcm_hw_params_set_access(pcm, hwparams, SND_PCM_ACCESS_RW_INTERLEAVED); in main() 83 r = snd_pcm_hw_params_set_format(pcm, hwparams, SND_PCM_FORMAT_S16_LE); in main() 86 r = snd_pcm_hw_params_set_rate_near(pcm, hwparams, &rate, NULL); in main() 89 r = snd_pcm_hw_params_set_channels(pcm, hwparams, CHANNELS); in main() 92 r = snd_pcm_hw_params_set_periods_integer(pcm, hwparams); in main() 95 r = snd_pcm_hw_params_set_periods_near(pcm, hwparams, &periods, &dir); in main() [all …]
|
/third_party/gstreamer/gstplugins_base/ext/alsa/ |
D | gstalsasrc.h | 56 snd_pcm_hw_params_t *hwparams; member
|
/third_party/alsa-lib/test/ |
D | pcm.c | 783 snd_pcm_hw_params_t *hwparams; in main() local 790 snd_pcm_hw_params_alloca(&hwparams); in main() 887 if ((err = set_hwparams(handle, hwparams, transfer_methods[method].access)) < 0) { in main()
|
/third_party/alsa-utils/speaker-test/ |
D | speaker-test.c | 974 snd_pcm_hw_params_t *hwparams; in main() local 1016 snd_pcm_hw_params_alloca(&hwparams); in main() 1181 if ((err = set_hwparams(handle, hwparams, SND_PCM_ACCESS_RW_INTERLEAVED)) < 0) { in main()
|
/third_party/alsa-utils/po/ |
D | ja.po | 1653 msgid "Setting of hwparams failed: %s\n" 1654 msgstr "hwparams の設定に失敗: %s\n"
|
D | eu.po | 1700 msgid "Setting of hwparams failed: %s\n" 1701 msgstr "hwparams-eko hobespenek huts egin dute: %s\n"
|
D | sk.po | 1708 msgid "Setting of hwparams failed: %s\n" 1709 msgstr "Chyba pri nastavovaní hardvérových parametrov (hwparams): %s\n"
|
D | de.po | 1670 msgid "Setting of hwparams failed: %s\n"
|
D | fr.po | 1688 msgid "Setting of hwparams failed: %s\n"
|