Hi,
I am using libasound to encode A52 data to send to an AV amp via an
optical connection. The sound is generated from racing game
(SpeedDreams.org) outputting via OpenAL configured with 5.1 audio.

The full setup is described in this forum post:
http://community.speed-dreams.org/viewtopic.php?f=6&t=270

The racing game can support rendering HD movies of the game play, and I'd
like to be able to mix in multi-channel audio into these - the ideal would
be to capture the A52 data directly to a file (not necessarily at the same
time that it's streamed to AV amp).

Searching has not found a solution for achieving this, so I'm wondering
whether anyone here can help.

Thanks in advance,
Simon.

'.asoundrc' is
--
    # iec958:CARD=Device,DEV=0

    pcm_slave.convert48k {
            pcm "iec958"
            rate 48000
    }

    pcm.iec958_playback {
            type plug
            slave convert48k
    }

    pcm.!default {
            type hw
            card Device
    }

    ctl.!default {
            type hw
            card Device
    }

    pcm.a52encode {
            type a52
            format S16_LE
            channels 6
            rate 48000
            bitrate 448
            card "Device"
    }

    pcm.dolbydigital {
            type plug
            slave.pcm "a52encode"
            slave.channels 6
    }
--




------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to