<div class="gmail_quote">On Fri, Mar 19, 2010 at 9:57 AM, Jean-Yves Avenard <span dir="ltr"><<a href="mailto:jyavenard@gmail.com">jyavenard@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">On 20 March 2010 01:55, Jean-Yves Avenard <<a href="mailto:jyavenard@gmail.com">jyavenard@gmail.com</a>> wrote:<br>
>> and need to change it to run trunk or bleeding.<br>
<br>
</div>Oh and if your amp is 5.1 ; make sure you set 5.1 for the speaker<br>
configuration in mythtv.<br>
<br>
Don't use stereo...<br>
<br>
Unlike 0.21 and 0.22 where you had to set Stereo for digital sound to<br>
get 5.1 ; the new audio code requires to be set at 5.1 is you want 5.1<br>
sound.
<br></blockquote><div><br>I do have it set to 5.1 and both ac3 and DTS checked. Pretty sure I have the right version because when I changed my repo to Avenard all the audio options changed to the new version. The receiver is decoding 5.1 perfectly and time stretch works well. Not sure if it matters but I have upmix set to "best" and digital output device set to "ALSA:iec958:{ AES0 0x02 }. Do I need to setup a fallback audio device as shown in the mythtv digital audio wiki (such as AES0=0x04,AES1=0x82,AES2=0x00,AES3=0x02)? <br>
<br>Some output that may be of interest.<br><br>root@myth:~# iecset -x<br>AES0=0x04,AES1=0x82,AES2=0x00,AES3=0x02<br>-------------------------------------------------------------------------<br>root@myth:~# aplay -L<br>default:CARD=Intel<br>
HDA Intel, AD198x Analog<br> Default Audio Device<br>front:CARD=Intel,DEV=0<br> HDA Intel, AD198x Analog<br> Front speakers<br>surround40:CARD=Intel,DEV=0<br> HDA Intel, AD198x Analog<br> 4.0 Surround output to Front and Rear speakers<br>
surround41:CARD=Intel,DEV=0<br> HDA Intel, AD198x Analog<br> 4.1 Surround output to Front, Rear and Subwoofer speakers<br>surround50:CARD=Intel,DEV=0<br> HDA Intel, AD198x Analog<br> 5.0 Surround output to Front, Center and Rear speakers<br>
surround51:CARD=Intel,DEV=0<br> HDA Intel, AD198x Analog<br> 5.1 Surround output to Front, Center, Rear and Subwoofer speakers<br>surround71:CARD=Intel,DEV=0<br> HDA Intel, AD198x Analog<br> 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers<br>
iec958:CARD=Intel,DEV=0<br> HDA Intel, AD198x Digital<br> IEC958 (S/PDIF) Digital Audio Output<br>null<br> Discard all samples (playback) or generate zero samples (capture)<br>----------------------------------------------------------------------------------------------------------<br>
root@myth:~# iecset<br>Mode: consumer<br>Data: audio<br>Rate: 48000 Hz<br>Copyright: permitted<br>Emphasis: none<br>Category: PCM coder<br>Original: original<br>Clock: 1000 ppm<br>---------------------------------------------------------------------------------------------------------<br>
<br>All outputs above are in the "working properly" state. And lastly, is there a command that I can use to check the state of the SPDIF or at least trouble shoot what might be happening when sound borks? Note that when this happens even using mplayer on the command line will not work so it's like the SPDIF is still getting stuck in nowhere. Let me know if there is anything I can do to help troubleshoot.<br>
</div></div><div style="visibility: hidden; display: inline;" id="avg_ls_inline_popup"></div><style type="text/css">#avg_ls_inline_popup { position:absolute; z-index:9999; padding: 0px 0px; margin-left: 0px; margin-top: 0px; width: 240px; overflow: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 13px;}</style>