Edit online

参数配置

  1. Luban-Lite 根目录下执行 scons --menuconfig,按如下方式配置,打开音频播放器:
    local packages options--->
            ArtInChip packages options--->
                    aic-mpp--->
                            [*]   Enable player interface and demo
  2. 如需使用音频解码,按照如下方式进行配置,否则可略过。
    音频播放器默认支持 MP3 解码, 如果需要支持其它解码格式,配置第三方解码库支持:
    Local packages options--->
        ArtInChip packages options--->
            [*]   aic-mpp--->
                [*]   Enable aac Decoder
                [*]   Enable flac Decoder
                [*]   Enable wma Decoder
    由于 WMA 解码需要配置约 200 KB 的连续内存,D13x 和 D12x 平台 sys_heap 空间不够,建议 FFmpeg 按如下配置使能 CMA:
    local packages options--->
        Third-party packages options--->
            [*]   FFmpeg is a collection of libraries and tools to process multimedia content
                [ ]   Enable ffmpeg private data memory using cma