If I am remembering correctly, the machine gun is the digital data in analog form. I heard it myself when I was getting spdif to work. It is from using ALSA:default as the passthrough device. Hope I am remembering this correctly.<div>
Try this:</div><div>Passthrough output device: ALSA:iec958(AESO 0x02)</div><div><br></div><div>Allen</div><div><br><br><div class="gmail_quote">On Mon, Jan 19, 2009 at 7:48 PM, Andrew Close <span dir="ltr"><<a href="mailto:aclose@gmail.com">aclose@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div></div><div class="Wj3C7c">On Mon, Jan 19, 2009 at 9:25 PM, Andrew Close <<a href="mailto:aclose@gmail.com">aclose@gmail.com</a>> wrote:<br>
> common thread, good idea :)<br>
><br>
> i think Phil has commented in my thread, and i have commented in his<br>
> thread. now Allen is bringing us all together. :D<br>
><br>
> i was originally trying to get audio out via SPDIF just because audio<br>
> over HDMI is so new, but hey, bonus if it works. ;)<br>
> so up until now, my MythBox has had audio out via coaxial SPDIF to my<br>
> AVR and video out via HDMI also routed through my AVR. since Phil is<br>
> having 'some' luck with audio over HDMI, i'm disconnecting my coaxial<br>
> SPDIF and going the HDMI route as well. maybe we'll figure something<br>
> out on our systems that helps each other.<br>
> so now i'm HDMI only to my Denon 3808. video rocks at 1920x1080 :D<br>
> but still no audio.<br>
><br>
> here's some details:<br>
> MythBuntu 8.10<br>
> Asus P5E-VM HDMI with Realtek ALC883 8 channel audio<br>
><br>
> aclose@MythBoxHD:~$ aplay -l<br>
> **** List of PLAYBACK Hardware Devices ****<br>
> card 0: Intel [HDA Intel], device 0: ALC883 Analog [ALC883 Analog]<br>
> Subdevices: 1/1<br>
> Subdevice #0: subdevice #0<br>
> card 0: Intel [HDA Intel], device 1: ALC883 Digital [ALC883 Digital]<br>
> Subdevices: 1/1<br>
> Subdevice #0: subdevice #0<br>
> card 0: Intel [HDA Intel], device 3: ATI HDMI [ATI HDMI]<br>
> Subdevices: 1/1<br>
> Subdevice #0: subdevice #0<br>
><br>
> aclose@MythBoxHD:~$ aplay -L<br>
> default:CARD=Intel<br>
> HDA Intel, ALC883 Analog<br>
> Default Audio Device<br>
> front:CARD=Intel,DEV=0<br>
> HDA Intel, ALC883 Analog<br>
> Front speakers<br>
> surround40:CARD=Intel,DEV=0<br>
> HDA Intel, ALC883 Analog<br>
> 4.0 Surround output to Front and Rear speakers<br>
> surround41:CARD=Intel,DEV=0<br>
> HDA Intel, ALC883 Analog<br>
> 4.1 Surround output to Front, Rear and Subwoofer speakers<br>
> surround50:CARD=Intel,DEV=0<br>
> HDA Intel, ALC883 Analog<br>
> 5.0 Surround output to Front, Center and Rear speakers<br>
> surround51:CARD=Intel,DEV=0<br>
> HDA Intel, ALC883 Analog<br>
> 5.1 Surround output to Front, Center, Rear and Subwoofer speakers<br>
> surround71:CARD=Intel,DEV=0<br>
> HDA Intel, ALC883 Analog<br>
> 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers<br>
> iec958:CARD=Intel,DEV=0<br>
> HDA Intel, ALC883 Digital<br>
> IEC958 (S/PDIF) Digital Audio Output<br>
> null<br>
> Discard all samples (playback) or generate zero samples (capture)<br>
><br>
> 'aplay -l' always showed the HDMI device, 'aplay -L' did not. to get<br>
> SPDIF to show up i added the following to my /etc/modprobe.d/alsa-base<br>
> file:<br>
><br>
> options snd-hda-intel model=6stack-dig<br>
><br>
> apparently /etc/modprobe.d/alsa-base is Debian/Ubuntu related, so if<br>
> you're using something other than a Debian based distro you'll need to<br>
> look for another file.<br>
> the '6stack-dig' is particular to my ALC883 sound setup on this<br>
> motherboard. although any similar ALC88X with 6 jacks and digital out<br>
> could probably use it. i don't remember exactly where i found the<br>
> '6stack-dig' setting, somewhere in UbuntuForums. there are some links<br>
> i've been collecting in my user profile:<br>
> <a href="http://www.mythtv.org/wiki/User:Aclose" target="_blank">http://www.mythtv.org/wiki/User:Aclose</a><br>
><br>
> utilities/setup -> setup -> general (audio on pg 3) i've tried setting<br>
> my audio output device = ALSA:hw=0,3 as mentioned by Rob earlier in<br>
> this thread. too bad it isn't that easy for me.<br>
> when playing AC3 content with that setting, i see the following in my<br>
> mythfrontend.log:<br>
><br>
> 2009-01-19 20:38:56.402 AFD: Opened codec 0x97ff2c0, id(MPEG4) type(Video)<br>
> 2009-01-19 20:38:56.402 AFD: codec AC3 has 6 channels<br>
> 2009-01-19 20:38:56.415 AFD: Opened codec 0x97ff630, id(AC3) type(Audio)<br>
> 2009-01-19 20:38:56.417 Opening audio device 'hw=0,3'. ch 2(2) sr 48000<br>
> 2009-01-19 20:38:56.417 Opening ALSA audio device 'hw=0,3'.<br>
> ALSA lib pcm.c:2196:(snd_pcm_open_noupdate) Unknown PCM hw=0,3<br>
> 2009-01-19 20:38:56.427 AudioOutput Error: snd_pcm_open(hw=0,3): No<br>
> such file or directory<br>
> 2009-01-19 20:38:56.427 NVP: Disabling Audio, reason is:<br>
> snd_pcm_open(hw=0,3): No such file or directory<br>
><br>
> i'll have to play around with manually changing that around.<br>
> passthrough is set to default, max audio is stereo, upmix is passive,<br>
> AC3 and DTS passthrough are both checked.<br>
><br>
> still playing...<br>
<br>
</div></div>w00t!<br>
minor success.<br>
in Myth utilities/setup->setup->general (pg3) audio output device:<br>
ALSA:hw:0,3 i got sound!<br>
well, my left speaker sounded like machine gun static. :)<br>
<br>
/var/log/mythtv/mythfrontend.log:<br>
<br>
2009-01-19 21:44:21.172 AFD: Opened codec 0x9845930, id(MPEG4) type(Video)<br>
2009-01-19 21:44:21.172 AFD: codec AC3 has 6 channels<br>
2009-01-19 21:44:21.172 AFD: Opened codec 0x9db39e0, id(AC3) type(Audio)<br>
2009-01-19 21:44:21.173 Opening audio device 'hw:0,3'. ch 2(2) sr 48000<br>
2009-01-19 21:44:21.173 Opening ALSA audio device 'hw:0,3'.<br>
2009-01-19 21:44:21.186 Opening audio device 'hw:0,3'. ch 2(2) sr 48000<br>
2009-01-19 21:44:21.186 Opening ALSA audio device 'hw:0,3'.<br>
2009-01-19 21:44:21.209 VideoOutputXv: Desired video renderer<br>
'xvmc-blit' not available.<br>
codec 'MPEG4' makes 'xv-blit,xshm,opengl,xlib,' available, using<br>
'xv-blit' instead.<br>
2009-01-19 21:44:21.210 VideoOutputXv: XVideo Adaptor Name: 'Intel(R)<br>
Textured Video'<br>
2009-01-19 21:44:21.341 OSD Theme Dimensions W: 640 H: 480<br>
2009-01-19 21:44:21.543 TV: Changing from None to WatchingPreRecorded<br>
2009-01-19 21:44:21.543 Realtime priority would require SUID as root.<br>
2009-01-19 21:44:23.781 NVP: Timed out waiting for free video buffers.<br>
2009-01-19 21:44:24.542 Video timing method: USleep with busy wait<br>
2009-01-19 21:44:24.544 WriteAudio: buffer underrun<br>
2009-01-19 21:44:24.551 WriteAudio: buffer underrun<br>
2009-01-19 21:44:24.559 WriteAudio: buffer underrun<br>
2009-01-19 21:44:24.567 WriteAudio: buffer underrun<br>
2009-01-19 21:44:24.575 WriteAudio: buffer underrun<br>
<div><div></div><div class="Wj3C7c"><br>
<br>
--<br>
Andrew Close<br>
_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
<a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users" target="_blank">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br>
</div></div></blockquote></div><br></div>