您尚未登录。

楼主 # 2024-08-28 16:57:01

memory
会员
注册时间: 2021-08-11
已发帖子: 483
积分: 459

A133播放音乐,44100Hz,48000Hz,96000Hz都正常,19200Hz不能播放,日志显示unsupport clk_div

# mpv --no-video --audio-format=s16 --audio-samplerate=192000 /tmp/test.wav
Playing: /opt/1.wav
(+) Audio --aid=1 (dts 7ch 44100Hz)
[18040.223622] snddaudio snddaudio0: codec_dai set sysclk failed
[18040.230160] snddaudio snddaudio0: codec dai set fmt failed
[18040.236363] sunxi-daudio daudio0: unsupport clk_div
[18040.241889] snddaudio snddaudio0: ASoC: machine hw_params failed: -22
[18040.250629] snddaudio snddaudio0: codec_dai set sysclk failed
[ao/alsa] Unable to set hw-parameters: Invalid argument
[18040.258503] snddaudio snddaudio0: codec dai set fmt failed
[ao/alsa] Attempting [18040.267446] sunxi-daudio daudio0: unsupport clk_div
to work around even more ALSA bu[18040.275703] snddaudio snddaudio0: ASoC: machine hw_params failed: -22
gs...
[ao/alsa] Unable to set hw-parameters: Invalid argument
[ao/oss] Can't open audio device /dev/dsp: No such file or directory
[ao] Failed to initialize audio driver 'oss'
Could not open/initialize audio device -> no sound.
Audio: no audio
: 00:00:00 / 00:05:29 (0%)


Exiting... (Errors when loading file)

离线

#1 2024-08-28 17:12:52

wupaul2001
会员
注册时间: 2019-09-30
已发帖子: 292
积分: 260

Re: A133播放音乐,44100Hz,48000Hz,96000Hz都正常,19200Hz不能播放,日志显示unsupport clk_div

声卡驱动不支持,打开重采样应该就可以

离线

#2 2024-08-28 17:13:10

wupaul2001
会员
注册时间: 2019-09-30
已发帖子: 292
积分: 260

Re: A133播放音乐,44100Hz,48000Hz,96000Hz都正常,19200Hz不能播放,日志显示unsupport clk_div

刚好在做这方面的东西

离线

楼主 #3 2024-08-28 20:58:56

memory
会员
注册时间: 2021-08-11
已发帖子: 483
积分: 459

Re: A133播放音乐,44100Hz,48000Hz,96000Hz都正常,19200Hz不能播放,日志显示unsupport clk_div

wupaul2001 说:

声卡驱动不支持,打开重采样应该就可以

看起来好像不是这个问题

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn