intsnd_send(FILE * fp,size_tn){snd_pcm_format_tformat;unsignedintnchannels;snd_pcm_uframes_tperiod;snd_pcm_hw_params_t*params; snd_pcm_hw_params_alloca(¶ms); snd_pcm_hw_params_current(pcm, params); snd_pcm_hw_params_get_format(params, &format); snd_pcm_hw_params_get_channels(...
问从启动脚本运行应用程序时,ALSA snd_pcm_hw_params_any崩溃EN虽然都是linux,芯片也是基于同样的架构...
snd_pcm_hw_params_alloca(&hwparams); snd_pcm_hw_params_any(pcm->handle, hwparams); snd_pcm_hw_params_set_access(pcm->handle, hwparams,SND_PCM_ACCESS_RW_INTERLEAVED); snd_pcm_format_t format; get_bits_per_sample(wav, &format); snd_pcm_hw_params_set_format(pcm->handle, hwparams,...
Signed-off-by: Jeremy White <jwh...@codeweavers.com> --- README | 2 +- configure.ac | 8 +--- gtk/channel-playback.c | 59 +++++--- gtk/channel-record.c | 99 ++++++++++--- 4 files changed, 49 insertions(+), 119 deletions(-) diff --git a/README b/README index 530...