<div>I've upgraded to myth .20...and i had analog sound but no digital sound via myth. I could select a file and play it through xine and sound went out via spdif no problem...but not in myth so i altered my .asound.conf file with what you see below and now i have no sound at all. Can anyone tell me what I am doing wrong? Thanks
</div>
<div> </div>
<div> </div>
<div># ALSA configuration file</div>
<p>##### USAGE #####<br># Save this file as "~/.asoundrc" (for user-specific sound<br>#configuration) or<br># "/etc/asound.conf" (for system-wide sound configuration) and specify<br>#ALSA device names ad described in the next s
</p>
<p>##### DEVICE NAMES #####<br># This configuration file defines four devices for use by the user.<br>#Those devices are "analog", "mixed-analog", "digital", and "mixed-digital".<br>
#The user may also re-define "default" to be identical to one of the above-named<br># devices (i.e. to send all sound output to the digital output unless otherwise<br># specified). Use the device names as described below:
<br># - "analog" outputs to the analog output directly and (at least on software<br># sound cards) blocks other audio output. After playback completes,"queued"<br># sounds are output in sequence.<br>
# - "mixed-analog" mixes audio output from multiple programs into the analog<br># output (so you can hear beeps, alerts, and other noises while playing back<br># an audio stream).<br># - "digital" outputs to the digital output directly. Since most (all?)
<br># digital outputs expect 48kHz PCM audio, this may not work for some<br>playback<br># (i.e. CD's--which are 44.1kHz PCM audio--or 32kHz audio streams from<br>TV<br># recordings, etc.).<br># - "mixed-digital"
</p>
<p># All other devices created within this file are used only by the configuration<br># file itself and should /not/ be used directly. In other words, do not use<br># the devices "analog-hw", "dmix-analog", "digital-hw", or "dmix-digital".
</p>
<p><br>##### IMPORTANT #####<br># To make this ALSA configuration file work with your sound card, you will need<br># to define the appropriate card and device information for the "analog-hw" and<br># "digital-hw" devices below. You can find the card and device information
<br># using "aplay -l".</p>
<p><br>##### Configuration File #####</p>
<p># Override the default output used by ALSA. If you do not override the<br># default, your default device is identical to the (unmixed) "analog" device<br># shown below. If you prefer mixed and/or digital output, uncomment the
<br># appropriate four lines below (only one slave.pcm line).<br>#<br># Note, also, that as of ALSA 1.0.9, "software" sound cards have been modified<br># such that their default "default" device is identical to the "mixed-analog"
<br># device. Whether using an ALSA version before or after 1.0.9, it does no harm<br># and has no affect on performance to redefine the device (even if the<br># redefinition does not change anything). Also, by using this ALSA
<br># configuration file, you once again have access to unmixed analog<br>output using<br># the "analog" device.<br>pcm.!default {<br> type plug<br>## Uncomment the following to use (unmixed) "analog" by default
<br># slave.pcm "analog-hw"<br>## Uncomment the following to use "mixed-analog" by default<br># slave.pcm "dmix-analog"<br>## Uncomment the following to use (unmixed) "digital" by default
<br> slave.pcm "digital-hw"<br>## Uncomment the following to use "mixed-digital" by default<br># slave.pcm "dmix-digital"<br># Control device (mixer, etc.) for the card<br>ctl.!default {<br>
type hw<br> card 0<br>}</p>
<p># Alias for (converted) analog output on the card<br># - This is identical to the device named "default"--which always exists and<br># refers to hw:0,0 (unless overridden)<br># - Therefore, we can specify "hw:0,0", "default", or "analog" to access analog
<br># output on the card<br># - Note that as of ALSA 1.0.9, "software" sound card definitions<br>redefine<br># "default" to do mixing, meaning this device is different from<br>"default" and<br>
# allows playback while blocking other sound sources (until playback<br># completes).<br>pcm.analog {<br> type plug<br> slave.pcm "analog-hw"<br>}</p>
<p># Control device (mixer, etc.) for the card<br>ctl.analog {<br> type hw<br> card 0<br>}</p>
<p># Alias for (converted) mixed analog output on the card<br># - This will accept audio input--regardless of rate--and convert to the rate<br># required for the dmix plugin (in this case 48000Hz)<br># - Note that as of ALSA
1.0.9, "software" sound card definitions redefine<br># "default" to do mixing, meaning this device is identical to "default" for<br># "software" sound cards.<br>pcm.mixed-analog {<br>
type plug<br> slave.pcm "dmix-analog"<br>}</p>
<p># Control device (mixer, etc.) for the card<br>ctl.mixed-analog {<br> type hw<br> card 0<br>}</p>
<p># Alias for (converted) digital (S/PDIF) output on the card<br># - This will accept audio input--regardless of rate--and convert to the rate<br># required for the S/PDIF hardware (in this case 48000Hz)<br>pcm.digital {
<br> type plug<br> slave.pcm "digital-hw"<br>}</p>
<p># Control device (mixer, etc.) for the card<br>ctl.digital {<br> type hw<br> card 0<br>}</p>
<p># Alias for mixed (converted) digital (S/PDIF) output on the card<br># - This will accept audio input--regardless of rate--and convert to the rate<br># required for the S/PDIF hardware (in this case 48000Hz)<br>pcm.mixed-digital
{<br>type plug<br> slave.pcm "dmix-digital"<br>}</p>
<p># Control device (mixer, etc.) for the card<br>ctl.mixed-digital {<br> type hw<br> card 0<br>}</p>
<p># The following devices are not useful by themselves. They require specific<br># rates, channels, and formats. Therefore, you probably do not want to use<br># them directly. Instead use of of the devices defined above.
</p>
<p># Alias for analog output on the card<br># Do not use this directly--it requires specific rate, channels, and format<br>pcm.analog-hw {<br> type hw<br> card 0<br> # The default value for device is 0, so no need to specify
<br># - Uncomment one of the below or create a new "device N" line as appropriate<br># for your sound card or<br># device 1<br># device 4<br>}</p>
<p># Control device (mixer, etc.) for the card<br>ctl.analog-hw {<br> type hw<br> card 0<br>}</p>
<p># Alias for digital (S/PDIF) output on the card<br># Do not use this directly--it requires specific rate, channels, and format<br>pcm.digital-hw {<br> type hw<br> card 0<br> device 1<br># - Comment out "device 1" above and uncomment one of the below or create a
<br># new "device N" line as appropriate for your sound card or<br># device 2<br># device 4<br>}</p>
<p># Control device (mixer, etc.) for the card<br>ctl.digital-hw {<br> type hw<br> card 0<br>}</p>
<p># Direct software mixing plugin for analog output on the card<br># Do not use this directly--it requires specific rate, channels, and format<br>pcm.dmix-analog {<br> type dmix<br> ipc_key 1234<br> slave {<br> pcm "analog-hw"
<br> period_time 0<br> period_size 1024<br> buffer_size 4096<br> rate 48000<br> }<br>}<br># Control device (mixer, etc.) for the card<br>ctl.dmix-analog {<br> type hw<br> card 0<br>}</p>
<p># Direct software mixing plugin for digital (S/PDIF) output on the card<br># Do not use this directly--it requires specific rate, channels, and format<br>pcm.dmix-digital {<br> type dmix<br> ipc_key 1235<br> slave {
<br> pcm "digital-hw"<br> period_time 0<br> period_size 1024<br> buffer_size 4096<br> rate 48000<br> }<br>}</p>
<p># Control device (mixer, etc.) for the card<br>ctl.dmix-digital {<br> type hw<br> card 0<br>}</p>