[mythtv-users] Best audio crard for AC3/DTS over SPIDF

Greg Whalin gwhalin at whalin.com
Thu Oct 20 20:33:48 EDT 2005


This is almost the exact same set of configs that I currently have.  I 
still get a "Decode Error" and no audio on my receiver when I use 
passthrough over spidf.  If I do not use passthrough, works fine w/ PCM 
and I get 2 channel.



Support [ Ian Ward ] wrote:
> Greg Whalin wrote:
> 
>> I currently have a Shuttle w/ A7N8X-Delux (nforce2) mboard and a 
>> direct coax digital connection over spidf to my receiver (Sony 
>> STR-DE995).  PCM 2 channel works great.  However, I am unable to use 
>> AC3 or DTS passthrough in myth, xine, or mplayer.  When I try, I get a 
>> "Decode Error" on my receiver and no audio.
> 
> 
> Hi there, I used the digital sound howto and searched a few lists.  My 
> motherboard is nforce2 , Sony AV AMP, all sound combos work perfectly.  
> Try my .asoundrc and .xine/config files attached.  In mythtv my sound 
> device is set to "ALSA:digital"
> 
> I am running FC3 and ATrpms mythtv-suite as per Jarod's howto
> 
> 
> ------------------------------------------------------------------------
> 
> #
> # xine config file
> #
> .version:2
> 
> # Entries which are still set to their default values are commented out.
> # Remove the '#' at the beginning of the line, if you want to change them.
> 
> # Enable deinterlacing by default
> # bool, default: 0
> #gui.deinterlace_by_default:0
> 
> # Configuration experience level
> # { Beginner  Advanced  Expert  Master of the known universe }, default: 0
> #gui.experience_level:Beginner
> 
> # Enable OSD support
> # bool, default: 1
> #gui.osd_enabled:1
> 
> # Dismiss OSD time (s)
> # numeric, default: 3
> gui.osd_timeout:10
> 
> # Ask user for playback with unsupported codec
> # bool, default: 0
> #gui.play_anyway:0
> 
> # Automatically reload old playlist
> # bool, default: 0
> #gui.playlist_auto_reload:0
> 
> # Audio visualization plugin
> # { oscope  fftscope  fftgraph  goom }, default: 0
> #gui.post_audio_plugin:oscope
> 
> # gui skin theme
> # { xinetic }, default: 0
> #gui.skin:xinetic
> 
> # Change xine's behavior for unexperienced user
> # bool, default: 1
> #gui.smart_mode:1
> 
> # Snapshot location
> # string, default: /home/mythtv
> #gui.snapshotdir:/home/mythtv
> 
> # Subtitle autoloading
> # bool, default: 1
> #gui.subtitle_autoload:1
> 
> # Visual animation style
> # { None  Post Plugin  Stream Animation }, default: 1
> #gui.visual_anim:Post Plugin
> 
> # Windows stacking (more)
> # bool, default: 0
> #gui.always_layer_above:0
> 
> # Audio mixer control method
> # { Sound card  Software }, default: 0
> #gui.audio_mixer_method:Sound card
> 
> # Visiblility behavior of panel
> # bool, default: 0
> #gui.auto_panel_visibility:0
> 
> # Visibility behavior of output window
> # bool, default: 0
> #gui.auto_video_output_visibility:0
> 
> # Deinterlace plugin.
> # string, default: tvtime:method=LinearBlend,cheap_mode=1,pulldown=0,use_progressive_frame_flag=1
> #gui.deinterlace_plugin:tvtime:method=LinearBlend,cheap_mode=1,pulldown=0,use_progressive_frame_flag=1
> 
> # Event sender behavior
> # bool, default: 1
> #gui.eventer_sticky:1
> 
> # Windows stacking
> # bool, default: 0
> #gui.layer_above:0
> 
> # Use unscaled OSD
> # bool, default: 1
> #gui.osd_use_unscaled:1
> 
> # Screensaver wakeup
> # numeric, default: 10
> #gui.screensaver_timeout:10
> 
> # Menu shortcut style
> # { Windows style  Emacs style }, default: 0
> #gui.shortcut_style:Windows style
> 
> # Stream information
> # bool, default: 0
> #gui.sinfo_auto_update:0
> 
> # Skin Server Url
> # string, default: http://xine.sourceforge.net/skins/skins.slx
> #gui.skin_server_url:http://xine.sourceforge.net/skins/skins.slx
> 
> # Chapter hopping
> # bool, default: 1
> #gui.skip_by_chapter:1
> 
> # New stream sizes resize output window
> # bool, default: 1
> #gui.stream_resize_window:1
> 
> # tips timeout (ms)
> # numeric, default: 500
> #gui.tips_timeout:500
> 
> # gui tips visibility
> # bool, default: 1
> #gui.tips_visible:1
> 
> # Name of video display
> # string, default: 
> #gui.video_display:
> 
> # Synchronized X protocol (debug)
> # bool, default: 0
> #gui.xsynchronize:0
> 
> # Double size for small streams (require stream_resize_window)
> # bool, default: 0
> #gui.zoom_small_stream:0
> 
> # Logo mrl
> # string, default: file:/usr/share/xine/skins/xine-ui_logo.mpv
> #gui.logo_mrl:file:/usr/share/xine/skins/xine-ui_logo.mpv
> 
> # use XVidModeExtension when switching to fullscreen
> # bool, default: 0
> #gui.use_xvidext:0
> 
> # Amplification level
> # [0..200], default: 100
> #gui.amp_level:100
> 
> # gui panel visibility
> # bool, default: 1
> gui.panel_visible:0
> 
> # numeric, default: 200
> #gui.panel_x:200
> 
> # numeric, default: 100
> #gui.panel_y:100
> 
> # brightness value
> # [0..65535], default: -1
> #gui.vo_brightness:-1
> 
> # contrast value
> # [0..65535], default: -1
> #gui.vo_contrast:-1
> 
> # saturation value
> # [0..65535], default: -1
> #gui.vo_saturation:-1
> 
> # palette (foreground-border-background) to use for subtitles and OSD
> # { white-black-transparent  white-none-transparent  white-none-translucid  yellow-black-transparent }, default: 0
> #ui.osd.text_palette:white-black-transparent
> 
> # notify changes to the hardware mixer
> # bool, default: 1
> #audio.alsa_hw_mixer:1
> 
> # audio driver to use
> # { auto  null  alsa  oss  arts  esd  file  none }, default: 0
> audio.driver:alsa
> 
> # use A/52 dynamic range compression
> # bool, default: 0
> #audio.a52.dynamic_range:0
> 
> # downmix audio to 2 channel surround stereo
> # bool, default: 0
> #audio.a52.surround_downmix:0
> 
> # A/52 volume
> # [0..200], default: 100
> #audio.a52.level:100
> 
> # device used for mono output
> # string, default: default
> #audio.device.alsa_default_device:default
> 
> # device used for stereo output
> # string, default: plug:front:default
> audio.device.alsa_front_device:default
> 
> # alsa mixer device
> # string, default: PCM
> #audio.device.alsa_mixer_name:PCM
> 
> # sound card can do mmap
> # bool, default: 0
> audio.device.alsa_mmap_enable:1
> 
> # device used for 5.1-channel output
> # string, default: iec958:AES0=0x6,AES1=0x82,AES2=0x0,AES3=0x2
> #audio.device.alsa_passthrough_device:iec958:AES0=0x6,AES1=0x82,AES2=0x0,AES3=0x2
> 
> # device used for 4-channel output
> # string, default: plug:surround40:0
> #audio.device.alsa_surround40_device:plug:surround40:0
> 
> # device used for 5.1-channel output
> # string, default: plug:surround51:0
> #audio.device.alsa_surround51_device:plug:surround51:0
> 
> # speaker arrangement
> # { Mono 1.0  Stereo 2.0  Headphones 2.0  Stereo 2.1  Surround 3.0  Surround 4.0  Surround 4.1  Surround 5.0  Surround 5.1  Surround 6.0  Surround 6.1  Surround 7.1  Pass Through }, default: 1
> audio.output.speaker_arrangement:Pass Through
> 
> # offset for digital passthrough
> # numeric, default: 0
> #audio.synchronization.passthrough_offset:0
> 
> # method to sync audio and video
> # { metronom feedback  resample }, default: 0
> #audio.synchronization.av_sync_method:metronom feedback
> 
> # always resample to this rate (0 to disable)
> # numeric, default: 0
> #audio.synchronization.force_rate:0
> 
> # enable resampling
> # { auto  off  on }, default: 0
> #audio.synchronization.resample_mode:auto
> 
> # startup audio volume
> # [0..100], default: 50
> #audio.volume.mixer_volume:50
> 
> # restore volume level at startup
> # bool, default: 0
> #audio.volume.remember_volume:0
> 
> # video driver to use
> # { auto  dxr3  aadxr3  xv  opengl  aa  xshm  caca  xxmc  none  sdl  vidix  vidixfb  fb  xvmc }, default: 0
> #video.driver:auto
> 
> # pitch alignment workaround
> # bool, default: 0
> #video.device.xv_pitch_alignment:0
> 
> # autopaint colour key
> # bool, default: 0
> #video.device.xv_autopaint_colorkey:0
> 
> # video overlay colour key
> # [0..16777215], default: 66048
> #video.device.xv_colorkey:66048
> 
> # enable double buffering
> # bool, default: 1
> #video.device.xv_double_buffer:1
> 
> # disable exact alpha blending of overlays
> # bool, default: 0
> #video.output.disable_exact_alphablend:0
> 
> # disable all video scaling
> # bool, default: 0
> #video.output.disable_scaling:0
> 
> # horizontal image position in the output window
> # [0..100], default: 50
> #video.output.horizontal_position:50
> 
> # vertical image position in the output window
> # [0..100], default: 50
> #video.output.vertical_position:50
> 
> # deinterlace method (deprecated)
> # { none  bob  weave  greedy  onefield  onefield_xv  linearblend }, default: 4
> #video.output.xv_deinterlace_method:onefield
> 
> # MPEG-4 postprocessing quality
> # [0..6], default: 3
> #video.processing.ffmpeg_pp_quality:3
> 
> # DXR3 device number
> # numeric, default: 0
> #dxr3.device_number:0
> 
> # swap odd and even lines
> # bool, default: 0
> #dxr3.encoding.swap_fields:0
> 
> # add black bars to correct aspect ratio
> # bool, default: 1
> #dxr3.encoding.add_bars:1
> 
> # use smooth play mode for mpeg encoder playback
> # bool, default: 1
> #dxr3.encoding.alt_play_mode:1
> 
> # device used for CD audio
> # string, default: /dev/cdrom
> #media.audio_cd.device:/dev/cdrom
> 
> # slow down disc drive to this speed factor
> # numeric, default: 4
> #media.audio_cd.drive_slowdown:4
> 
> # query CDDB
> # bool, default: 1
> #media.audio_cd.use_cddb:1
> 
> # CDDB cache directory
> # string, default: /home/mythtv/.xine/cddbcache
> #media.audio_cd.cddb_cachedir:/home/mythtv/.xine/cddbcache
> 
> # CDDB server port
> # numeric, default: 8880
> #media.audio_cd.cddb_port:8880
> 
> # CDDB server name
> # string, default: freedb.freedb.org
> #media.audio_cd.cddb_server:freedb.freedb.org
> 
> # directory for saving streams
> # string, default: 
> #media.capture.save_dir:
> 
> # Number of dvb card to use.
> # numeric, default: 0
> #media.dvb.adapter:0
> 
> # Remember last DVB channel watched
> # bool, default: 1
> #media.dvb.remember_channel:1
> 
> # Last DVB channel viewed
> # numeric, default: -1
> #media.dvb.last_channel:-1
> 
> # default language for DVD playback
> # string, default: en
> #media.dvd.language:en
> 
> # region the DVD player claims to be in (1 to 8)
> # numeric, default: 1
> #media.dvd.region:1
> 
> # device used for DVD playback
> # string, default: /dev/dvd
> #media.dvd.device:/dev/dvd
> 
> # raw device set up for DVD access
> # string, default: /dev/rdvd
> #media.dvd.raw_device:/dev/rdvd
> 
> # read-ahead caching
> # bool, default: 1
> #media.dvd.readahead:1
> 
> # CSS decryption method
> # { key  disc  title }, default: 0
> #media.dvd.css_decryption_method:key
> 
> # unit for seeking
> # { seek in program chain  seek in program }, default: 0
> #media.dvd.seek_behaviour:seek in program chain
> 
> # unit for the skip action
> # { skip program  skip part  skip title }, default: 0
> #media.dvd.skip_behaviour:skip program
> 
> # path to the title key cache
> # string, default: /home/mythtv/.dvdcss/
> #media.dvd.css_cache_path:/home/mythtv/.dvdcss/
> 
> # file browsing start location
> # string, default: /home/mythtv
> #media.files.origin_path:/home/mythtv
> 
> # list hidden files
> # bool, default: 0
> #media.files.show_hidden_files:0
> 
> # network bandwidth
> # { 14.4 Kbps (Modem)  19.2 Kbps (Modem)  28.8 Kbps (Modem)  33.6 Kbps (Modem)  34.4 Kbps (Modem)  57.6 Kbps (Modem)  115.2 Kbps (ISDN)  262.2 Kbps (Cable/DSL)  393.2 Kbps (Cable/DSL)  524.3 Kbps (Cable/DSL)  1.5 Mbps (T1)  10.5 Mbps (LAN) }, default: 10
> #media.network.bandwidth:1.5 Mbps (T1)
> 
> # Domains for which to ignore the HTTP proxy
> # string, default: 
> #media.network.http_no_proxy:
> 
> # HTTP proxy host
> # string, default: 
> #media.network.http_proxy_host:
> 
> # HTTP proxy password
> # string, default: 
> #media.network.http_proxy_password:
> 
> # HTTP proxy port
> # numeric, default: 80
> #media.network.http_proxy_port:80
> 
> # HTTP proxy username
> # string, default: 
> #media.network.http_proxy_user:
> 
> # MMS protocol
> # { auto  TCP  HTTP }, default: 0
> #media.network.mms_protocol:auto
> 
> # automatically advance VCD track/entry
> # bool, default: 1
> #media.vcd.autoadvance:1
> 
> # VCD default type to use on autoplay
> # { track  entry  segment  playlist }, default: 3
> #media.vcd.autoplay:playlist
> 
> # VCD position slider range
> # { auto  track  entry }, default: 0
> #media.vcd.length_reporting:auto
> 
> # show 'rejected' VCD LIDs
> # bool, default: 0
> #media.vcd.show_rejected:0
> 
> # VCD format string for stream comment field
> # string, default: %P - Track %T
> #media.vcd.comment_format:%P - Track %T
> 
> # VCD debug flag mask
> # numeric, default: 0
> #media.vcd.debug:0
> 
> # device used for VCD playback
> # string, default: /dev/cdrom
> #media.vcd.device:/dev/cdrom
> 
> # VCD format string for display banner
> # string, default: %F - %I %N%L%S, disk %c of %C - %v %A
> #media.vcd.title_format:%F - %I %N%L%S, disk %c of %C - %v %A
> 
> # v4l radio device
> # string, default: /dev/v4l/radio0
> #media.video4linux.radio_device:/dev/v4l/radio0
> 
> # v4l video device
> # string, default: /dev/v4l/video0
> #media.video4linux.video_device:/dev/v4l/video0
> 
> # device used for WinTV-PVR 250/350 (pvr plugin)
> # string, default: /dev/video0
> #media.wintv_pvr.device:/dev/video0
> 
> # path to RealPlayer codecs
> # string, default: 
> #decoder.external.real_codecs_path:
> 
> # path to Win32 codecs
> # string, default: /usr/lib/win32
> #decoder.external.win32_codecs_path:/usr/lib/win32
> 
> # subtitle size
> # { tiny  small  normal  large  very large  huge }, default: 1
> #subtitles.separate.subtitle_size:small
> 
> # subtitle vertical offset
> # numeric, default: 0
> #subtitles.separate.vertical_offset:0
> 
> # font for subtitles
> # string, default: sans
> #subtitles.separate.font:sans
> 
> # encoding of the subtitles
> # string, default: iso-8859-1
> #subtitles.separate.src_encoding:iso-8859-1
> 
> # use unscaled OSD if possible
> # bool, default: 1
> #subtitles.separate.use_unscaled_osd:1
> 
> # frames per second to generate
> # numeric, default: 10
> #effects.goom.fps:10
> 
> # goom image height
> # numeric, default: 240
> #effects.goom.height:240
> 
> # goom image width
> # numeric, default: 320
> #effects.goom.width:320
> 
> # colorspace conversion method
> # { Fast but not photorealistic  Slow but looks better }, default: 0
> #effects.goom.csc_method:Fast but not photorealistic
> 
> # number of audio buffers
> # numeric, default: 230
> #engine.buffers.audio_num_buffers:230
> 
> # number of video buffers
> # numeric, default: 500
> #engine.buffers.video_num_buffers:500
> 
> # priority for a/52 decoder
> # numeric, default: 0
> #engine.decoder_priorities.a/52:0
> 
> # priority for bitplane decoder
> # numeric, default: 0
> #engine.decoder_priorities.bitplane:0
> 
> # priority for dts decoder
> # numeric, default: 0
> #engine.decoder_priorities.dts:0
> 
> # priority for dvaudio decoder
> # numeric, default: 0
> #engine.decoder_priorities.dvaudio:0
> 
> # priority for dxr3-mpeg2 decoder
> # numeric, default: 0
> #engine.decoder_priorities.dxr3-mpeg2:0
> 
> # priority for dxr3-spudec decoder
> # numeric, default: 0
> #engine.decoder_priorities.dxr3-spudec:0
> 
> # priority for faad decoder
> # numeric, default: 0
> #engine.decoder_priorities.faad:0
> 
> # priority for ffmpeg-wmv8 decoder
> # numeric, default: 0
> #engine.decoder_priorities.ffmpeg-wmv8:0
> 
> # priority for ffmpegaudio decoder
> # numeric, default: 0
> #engine.decoder_priorities.ffmpegaudio:0
> 
> # priority for ffmpegvideo decoder
> # numeric, default: 0
> #engine.decoder_priorities.ffmpegvideo:0
> 
> # priority for flacdec decoder
> # numeric, default: 0
> #engine.decoder_priorities.flacdec:0
> 
> # priority for gsm610 decoder
> # numeric, default: 0
> #engine.decoder_priorities.gsm610:0
> 
> # priority for image decoder
> # numeric, default: 0
> #engine.decoder_priorities.image:0
> 
> # priority for mad decoder
> # numeric, default: 0
> #engine.decoder_priorities.mad:0
> 
> # priority for mpc decoder
> # numeric, default: 0
> #engine.decoder_priorities.mpc:0
> 
> # priority for mpeg2 decoder
> # numeric, default: 0
> #engine.decoder_priorities.mpeg2:0
> 
> # priority for nsf decoder
> # numeric, default: 0
> #engine.decoder_priorities.nsf:0
> 
> # priority for pcm decoder
> # numeric, default: 0
> #engine.decoder_priorities.pcm:0
> 
> # priority for qta decoder
> # numeric, default: 0
> #engine.decoder_priorities.qta:0
> 
> # priority for qtv decoder
> # numeric, default: 0
> #engine.decoder_priorities.qtv:0
> 
> # priority for real decoder
> # numeric, default: 0
> #engine.decoder_priorities.real:0
> 
> # priority for realadec decoder
> # numeric, default: 0
> #engine.decoder_priorities.realadec:0
> 
> # priority for rgb decoder
> # numeric, default: 0
> #engine.decoder_priorities.rgb:0
> 
> # priority for speex decoder
> # numeric, default: 0
> #engine.decoder_priorities.speex:0
> 
> # priority for spucc decoder
> # numeric, default: 0
> #engine.decoder_priorities.spucc:0
> 
> # priority for spucmml decoder
> # numeric, default: 0
> #engine.decoder_priorities.spucmml:0
> 
> # priority for spudec decoder
> # numeric, default: 0
> #engine.decoder_priorities.spudec:0
> 
> # priority for spudvb decoder
> # numeric, default: 0
> #engine.decoder_priorities.spudvb:0
> 
> # priority for sputext decoder
> # numeric, default: 0
> #engine.decoder_priorities.sputext:0
> 
> # priority for theora decoder
> # numeric, default: 0
> #engine.decoder_priorities.theora:0
> 
> # priority for vorbis decoder
> # numeric, default: 0
> #engine.decoder_priorities.vorbis:0
> 
> # priority for win32a decoder
> # numeric, default: 0
> #engine.decoder_priorities.win32a:0
> 
> # priority for win32v decoder
> # numeric, default: 0
> #engine.decoder_priorities.win32v:0
> 
> # priority for yuv decoder
> # numeric, default: 0
> #engine.decoder_priorities.yuv:0
> 
> # media format detection strategy
> # { default  reverse  content  extension }, default: 0
> #engine.demux.strategy:default
> 
> # memcopy method used by xine
> # { probe  libc  kernel  mmx  mmxext  sse }, default: 0
> engine.performance.memcpy_method:sse
> 
> # percentage of discarded frames to tolerate
> # numeric, default: 10
> #engine.performance.warn_discarded_threshold:10
> 
> # percentage of skipped frames to tolerate
> # numeric, default: 10
> #engine.performance.warn_skipped_threshold:10
> 
> # allow implicit changes to the configuration (e.g. by MRL)
> # bool, default: 0
> #misc.implicit_config:0
> 
> 
> 
> ------------------------------------------------------------------------
> 
> # Override the default output used by ALSA.
> # If you do not override the default, your default
> # device is identical to the (unmixed) analog device
> # shown below.  If you prefer mixed and/or digital
> # output, uncomment the appropriate four lines below
> # (only one slave.pcm line).
> pcm.!default {
>   type plug
> ## Uncomment the following to use mixed analog by default
> #  slave.pcm "dmix-analog"
> ## Uncomment the following to use unmixed digital by default
>   slave.pcm "digital-hw"
> ## Uncomment the following to use mixed digital by default
> #  slave.pcm "dmix-digital"
> }
> 
> # Alias for analog output on the nForce2/4 (hw:0,0)
> # - This is identical to the device named "default"--which
> # always exists and refers to hw:0,0 (unless overridden)
> # - Therefore, we can specify "hw:0,0", "default", or "analog"
> # to access analog output on the nForce2/4
> pcm.analog {
>  type plug
>  slave.pcm "analog-hw"
> }
> 
> # Control device (mixer, etc.) for the nForce2 card
> ctl.analog {
>  type hw
>  card 0
> }
> 
> # Alias for (rate-converted) mixed analog output on the
> # nForce2 (hw:0,0)
> #  - This will accept audio input--regardless of rate--and
> # convert to the rate required for the dmix plugin
> # (in this case 48000Hz)
> pcm.mixed-analog {
>  type plug
>  slave.pcm "dmix-analog"
> }
> 
> # Control device (mixer, etc.) for the nForce2 card
> ctl.mixed-analog {
>  type hw
>  card 0
> }
> 
> # Alias for (rate-converted) digital (S/PDIF) output on the
> # nForce2 (hw:0,2)
> #  - This will accept audio input--regardless of rate--and
> # convert to the rate required for the S/PDIF hardware
> # (in this case 48000Hz)
> pcm.digital {
>  type plug
>  slave.pcm "digital-hw"
> }
> 
> # Control device (mixer, etc.) for the nForce2 card
> ctl.digital {
>  type hw
>  card 0
> }
> 
> # Alias for mixed (rate-converted) digital (S/PDIF) output on the
> # nForce2/4 (hw:0,2)
> #  - This will accept audio input--regardless of rate--and
> # convert to the rate required for the S/PDIF hardware
> # (in this case 48000Hz)
> pcm.mixed-digital {
>  type plug
>  slave.pcm "dmix-digital"
> }
> 
> # Control device (mixer, etc.) for the nForce2 card
> ctl.mixed-digital {
>  type hw
>  card 0
> }
> 
> # The following devices are not useful by themselves.  They
> # require specific rates, channels, and formats.  Therefore,
> # you probably do not want to use them directly.  Instead use
> # of of the devices defined above.
> 
> # Alias for analog output on the nForce2 (hw:0,0)
> # Do not use this directly--it requires specific rate,
> # channels, and format
> pcm.analog-hw {
>  type hw
>  card 0
>  # The default value for device is 0, so no need to specify
> }
> 
> # Control device (mixer, etc.) for the nForce2/4 card
> ctl.analog-hw {
>  type hw
>  card 0
> }
> 
> # Alias for digital (S/PDIF) output on the nForce2/4 (hw:0,2)
> # Do not use this directly--it requires specific rate,
> # channels, and format
> pcm.digital-hw {
>  type hw
>  card 0
>  device 2
> }
> 
> # Control device (mixer, etc.) for the nForce2/4 card
> ctl.digital-hw {
>  type hw
>  card 0
> }
> 
> # Direct software mixing plugin for analog output on
> # the nForce2/4 (hw:0,0)
> # Do not use this directly--it requires specific rate,
> # channels, and format
> pcm.dmix-analog {
>  type dmix
>  ipc_key 1234
>  slave {
>    pcm "analog-hw"
>    period_time 0
>    period_size 1024
>    buffer_size 4096
>    rate 48000
>  }
> }
> 
> # Control device (mixer, etc.) for the nForce2/4 card
> ctl.dmix-analog {
>  type hw
>  card 0
> }
> 
> # Direct software mixing plugin for digital (S/PDIF) output
> # on the nForce2/4 (hw:0,2)
> # Do not use this directly--it requires specific rate,
> # channels, and format
> pcm.dmix-digital {
>  type dmix
>  ipc_key 1235
>  slave {
>    pcm "digital-hw"
>    period_time 0
>    period_size 1024
>    buffer_size 4096
>    rate 48000
>  }
> }
> 
> # Control device (mixer, etc.) for the nForce2/4 card
> ctl.dmix-digital {
>  type hw
>  card 0
> }



More information about the mythtv-users mailing list