Menu

AC3 output using a52 plugin

alsa-user
2017-04-27
2018-05-12
  • Tobias Wenig

    Tobias Wenig - 2017-04-27

    Hello @all,

    I am trying to setup an AC3 output using the A52 plugin. I was finding several .asoundrc exampls but none seemed to work for me. It always failed some way without producing any proper output when using speaker-test with 6-channel output:

    pcm.a52encode {
    type rate
    slave {
    pcm {
    type a52
    bitrate 448
    channels 6
    card 0
    }
    rate 48000
    }
    }

    but it seems this device cannot be used:

    speaker-test -D a52encode -c 6
    ALSA lib conf.c:4705:(snd_config_expand) Unknown parameters {AES0 0x6 AES1 0x82 AES2 0x0 AES3 0x2 CARD 0}
    ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM iec958:{AES0 0x6 AES1 0x82 AES2 0x0 AES3 0x2 CARD 0}
    aplay: main:722: audio open error: Invalid argument

    I tested on Ubuntu 17.04, raspbian and lubuntu 16.04. Is the A52 plugin still supported?

    Thanks and regards,
    Tobias

     
  • Dmitri Seletski

    Dmitri Seletski - 2018-05-12

    I am by all means am not proficient enough to answer any questions here.
    My guess is that you are seeking for - is this: https://www.alsa-project.org/main/index.php/A52_plugin

    Do you have A52 libraries installed on the PC? Because apart from having ALSA which supports A52(ALSA needs to be configred with it), you also need to have A52 libraries installed, which depends on distro, most distros, would not have installed. I dont know if you have itnstalled or not, checking it first might not be bad idea,

     

Log in to post a comment.