leo99 发表于 2023-4-19 10:22:10

使用SDK例子程序播放声音失败(2G16G板子)

新买的核心板+底板(AIO-1126JD4-V1.0,2G16G核心板-V1.2),板子上自带系统版本如下:
Linux version 4.19.111 (lvsx@tchip14) (kernel commit id: 618d4940d48a66d78328cb3e57cd74ef9e49cc3e) (sdk version: rv1126_rv1109_linux_release_20221222_v2.2.5d.xml) (gcc version 6.3.1 20170404 (Linaro GCC 6.3-2017.05)) #320 SMP PREEMPT Thu Dec 22 10:32:23 CST 2022


使用SDK例子程序rkmedia_ao_test播放声音失败,错误如下:
#SampleRate: 16000
#Channel Count: 2
#Frame Count: 1024
#Volume: 50
#Output Path: backingcharge.wav
##RKMEDIA Log level: 2
:text is all=2
:module is all, log_level is 2
:RK_MPI_AO_EnableChn: Enable AO Start...
:RK_MPI_AO_EnableChn: Enable AO End...
#Before Volume set, volume=50
#After Volume set, volume=50
main initial finish
# TimeVal:64000us, ReadSize:4096
ERROR: RK_MPI_SYS_SendMediaBuffer failed! ret = -7
main exit!
:RK_MPI_AO_DisableChn: Disable AO Start...
:OutputStreamFlow:alsa_playback_stream quit
:audio playback close done
:RK_MPI_AO_DisableChn: Disable AO End...
#


请看下是什么问题呢?
页: [1]
查看完整版本: 使用SDK例子程序播放声音失败(2G16G板子)