{"action":"created","issue":{"url":"https://api.github.com/repos/raspberrypi/linux/issues/997","labels_url":"https://api.github.com/repos/raspberrypi/linux/issues/997/labels{/name}","comments_url":"https://api.github.com/repos/raspberrypi/linux/issues/997/comments","events_url":"https://api.github.com/repos/raspberrypi/linux/issues/997/events","html_url":"https://github.com/raspberrypi/linux/issues/997","id":84059978,"number":997,"title":"alsa: AC3/DTS passthrough over HDMI plays noise","user":{"login":"wm4","id":1387750,"avatar_url":"https://avatars.githubusercontent.com/u/1387750?v=3","gravatar_id":"","url":"https://api.github.com/users/wm4","html_url":"https://github.com/wm4","followers_url":"https://api.github.com/users/wm4/followers","following_url":"https://api.github.com/users/wm4/following{/other_user}","gists_url":"https://api.github.com/users/wm4/gists{/gist_id}","starred_url":"https://api.github.com/users/wm4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wm4/subscriptions","organizations_url":"https://api.github.com/users/wm4/orgs","repos_url":"https://api.github.com/users/wm4/repos","events_url":"https://api.github.com/users/wm4/events{/privacy}","received_events_url":"https://api.github.com/users/wm4/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-06-02T14:54:52Z","updated_at":"2015-06-03T17:58:59Z","closed_at":null,"body":"I've tried with both vlc (``--spdif``) and mpv (``--ad=spdif:ac3,spdif:dts``). According to #528, passthrough over ALSA should work now, so this might be a regression or a rather tricky configuration issue.\r\n\r\nI tried this on Raspbian. I had to add this config file to ``/usr/share/alsa/cards/``, as Raspbian seems to be missing it:  https://gist.githubusercontent.com/julianscheel/9094131/raw/af99299b11d32693abb07481698b1f963a423076/bcm2835.conf (As I understand, the AES0 flag should cause the driver and firmware to send the data formatted correctly for passthrough.)\r\n\r\nI couldn't test kodi over ssh, but from what I'm seeing it uses OMX for audio output anyway.\r\n\r\nThe same file, player code, and receiver works on a real computer using Linux and ALSA.\r\n\r\nI've run ``apt-get update && apt-get dist-upgrade && rpi-update`` before testing this. uname -a shows: ``Linux raspberrypi 3.18.14-v7+ #793 SMP PREEMPT Sat May 30 14:04:35 BST 2015 armv7l GNU/Linux``\r\n\r\nIf it matters, my config.txt has the following entries:\r\n```\r\nhdmi_drive=2\r\navoid_warnings=2\r\ngpu_mem=320\r\nno_hdmi_resample=1\r\nhdmi_stream_channels=1\r\n```"},"comment":{"url":"https://api.github.com/repos/raspberrypi/linux/issues/comments/108548192","html_url":"https://github.com/raspberrypi/linux/issues/997#issuecomment-108548192","issue_url":"https://api.github.com/repos/raspberrypi/linux/issues/997","id":108548192,"user":{"login":"popcornmix","id":1053730,"avatar_url":"https://avatars.githubusercontent.com/u/1053730?v=3","gravatar_id":"","url":"https://api.github.com/users/popcornmix","html_url":"https://github.com/popcornmix","followers_url":"https://api.github.com/users/popcornmix/followers","following_url":"https://api.github.com/users/popcornmix/following{/other_user}","gists_url":"https://api.github.com/users/popcornmix/gists{/gist_id}","starred_url":"https://api.github.com/users/popcornmix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/popcornmix/subscriptions","organizations_url":"https://api.github.com/users/popcornmix/orgs","repos_url":"https://api.github.com/users/popcornmix/repos","events_url":"https://api.github.com/users/popcornmix/events{/privacy}","received_events_url":"https://api.github.com/users/popcornmix/received_events","type":"User","site_admin":false},"created_at":"2015-06-03T17:58:59Z","updated_at":"2015-06-03T17:58:59Z","body":"Okay, this should appear in the next rpi-update firmware."}}