Advertisement
Thaodan

asound.conf

Feb 13th, 2015
285
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Use PulseAudio by default
  2. pcm.a52 {
  3.     @args [ CARD ]
  4.     @args.CARD {
  5.         type string
  6.         default {
  7.             @func getenv
  8.             vars [
  9.                 ALSA_IEC958_CARD
  10.                 ALSA_PCM_CARD
  11.                 ALSA_CARD
  12.             ]
  13.             default {
  14.                 @func refer
  15.                 name defaults.pcm.iec958.card
  16.             }
  17.         }
  18.     }
  19.  
  20.     # Note the layering of the rate plugin is needed for PulseAudio to
  21.     # work nicely with this plugin.
  22.     type rate
  23.     slave {
  24.         pcm {
  25.             type a52
  26.             bitrate 448
  27.             channels 6
  28.             card $CARD
  29.         }
  30.         rate 48000
  31.     }
  32.     hint {
  33.         show {
  34.             @func refer
  35.             name defaults.namehint.basic
  36.         }
  37.         description "AC3 Encoding through IEC958 (S/PDIF)"
  38.     }
  39. }
  40.  
  41. # vim:set ft=alsaconf:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement