I've received my new amp a few days ago (onkyo 509) and I've got a little problem with XBMC and pulseaudio.
The pass-through doesn't work for me because the audio driver for my motherboard has 3 HDMI outputs (hw:0,3 / hw:0,7 / hw:0,8) and XBMC (or pulseaudio) tries to use the first one (0,3) whereas it's the second which works (0,7).
I also had no stereo sound at first but after forcing pulseaudio to hw:0,7 it worked :
Though I don't know how to do it for the pass-through. I tried some things into the custom audio pass-through setting in XBMC but it didn't help.
The optical pass-through works well, but it doesn't support DTS/DD HD and I don't have enough optical inputs on my amp.
I'm using Gentoo, kernel 3.2.0 and "recent" (one week or so) xbmc-pvr and pulseaudio git versions. I'll try to update them, perhaps it will help.
Code:
21:45:55 T:139719833069312 DEBUG: CDVDPlayerAudio:: Discontinuity - was:2104287581,363000, should be:2104274256,404615, error:-13324,958385
21:45:55 T:139719493326592 WARNING: CDVDPlayer::CheckContinuity - wrapback of stream:1, prev:2112977000,000000, curr:2112949000,000000, diff:-28000,000000
21:45:58 T:139719493326592 WARNING: CDVDPlayer::CheckContinuity - wrapback of stream:1, prev:2115142000,000000, curr:2115115000,000000, diff:-27000,000000
21:45:58 T:139719833069312 DEBUG: CDVDPlayerAudio:: Discontinuity - was:2107280978,169615, should be:2107268780,948269, error:-12197,221347
21:45:59 T:139719493326592 WARNING: CDVDPlayer::CheckContinuity - wrapback of stream:1, prev:2116123000,000000, curr:2116075000,000000, diff:-48000,000000
21:45:59 T:139719493326592 WARNING: CDVDPlayer::CheckContinuity - wrapback of stream:1, prev:2116913000,000000, curr:2116875000,000000, diff:-38000,000000
21:46:00 T:139719841462016 DEBUG: CPullupCorrection: detected pattern of length 1: 41666,67, frameduration: 41666,666667
21:46:01 T:139719493326592 WARNING: CDVDPlayer::CheckContinuity - wrapback of stream:1, prev:2118139000,000000, curr:2118123000,000000, diff:-16000,000000
21:46:01 T:139719833069312 DEBUG: CDVDPlayerAudio:: Discontinuity - was:2110276269,378269, should be:2110289402,820059, error:13133,441790
21:46:01 T:139719493326592 WARNING: CDVDPlayer::CheckContinuity - wrapback of stream:1, prev:2118961000,000000, curr:2118955000,000000, diff:-6000,000000
21:46:02 T:139719833069312 DEBUG: CDVDPlayerAudio:: Discontinuity - was:2111292739,257059, should be:2111278183,383927, error:-14555,873132
21:46:02 T:139719493326592 WARNING: CDVDPlayer::CheckContinuity - wrapback of stream:1, prev:2119793000,000000, curr:2119744000,000000, diff:-49000,000000
21:46:03 T:139719833069312 DEBUG: CDVDPlayerAudio:: Discontinuity - was:2112280644,865927, should be:2112256174,765502, error:-24470,100425
21:46:04 T:139719833069312 DEBUG: CDVDPlayerAudio:: Discontinuity - was:2113257830,944502, should be:2113291558,437200, error:33727,492698
21:46:04 T:139719493326592 WARNING: CDVDPlayer::CheckContinuity - wrapback of stream:1, prev:2121841000,000000, curr:2121835000,000000, diff:-6000,000000
21:46:05 T:139719833069312 DEBUG: CDVDPlayerAudio:: Discontinuity - was:2114294776,477200, should be:2114310047,997603, error:15271,520403
21:46:05 T:139719493326592 WARNING: CDVDPlayer::CheckContinuity - wrapback of stream:1, prev:2122587000,000000, curr:2122581000,000000, diff:-6000,000000
21:46:06 T:139719833069312 DEBUG: CDVDPlayerAudio:: Discontinuity - was:2115312349,650603, should be:2115300674,565113, error:-11675,085491
21:46:07 T:139719833069312 DEBUG: CDVDPlayerAudio:: Discontinuity - was:2116303301,436113, should be:2116267409,091729, error:-35892,344384
21:46:07 T:139719493326592 WARNING: CDVDPlayer::CheckContinuity - wrapback of stream:1, prev:2124518000,000000, curr:2124459000,000000, diff:-59000,000000
21:46:08 T:139719493326592 WARNING: CDVDPlayer::CheckContinuity - wrapback of stream:1, prev:2125894000,000000, curr:2125835000,000000, diff:-59000,000000
21:46:09 T:139719493326592 WARNING: CDVDPlayer::CheckContinuity - wrapback of stream:1, prev:2126417000,000000, curr:2126379000,000000, diff:-38000,000000
21:46:09 T:139719833069312 DEBUG: CDVDPlayerAudio:: Discontinuity - was:2118272569,268729, should be:2118301425,037628, error:28855,768899
21:46:10 T:139719833069312 DEBUG: CDVDPlayerAudio:: Discontinuity - was:2119303720,623628, should be:2119317138,275569, error:13417,651942
21:46:10 T:139719493326592 WARNING: CDVDPlayer::CheckContinuity - wrapback of stream:1, prev:2127814000,000000, curr:2127755000,000000, diff:-59000,000000