{"action":"created","issue":{"url":"https://api.github.com/repos/raspberrypi/linux/issues/1517","repository_url":"https://api.github.com/repos/raspberrypi/linux","labels_url":"https://api.github.com/repos/raspberrypi/linux/issues/1517/labels{/name}","comments_url":"https://api.github.com/repos/raspberrypi/linux/issues/1517/comments","events_url":"https://api.github.com/repos/raspberrypi/linux/issues/1517/events","html_url":"https://github.com/raspberrypi/linux/issues/1517","id":158552118,"number":1517,"title":"I2S (RPI as a slave) audio stuttering on RPI 3 since 4.4.6","user":{"login":"gtrainavicius","id":477278,"avatar_url":"https://avatars.githubusercontent.com/u/477278?v=3","gravatar_id":"","url":"https://api.github.com/users/gtrainavicius","html_url":"https://github.com/gtrainavicius","followers_url":"https://api.github.com/users/gtrainavicius/followers","following_url":"https://api.github.com/users/gtrainavicius/following{/other_user}","gists_url":"https://api.github.com/users/gtrainavicius/gists{/gist_id}","starred_url":"https://api.github.com/users/gtrainavicius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gtrainavicius/subscriptions","organizations_url":"https://api.github.com/users/gtrainavicius/orgs","repos_url":"https://api.github.com/users/gtrainavicius/repos","events_url":"https://api.github.com/users/gtrainavicius/events{/privacy}","received_events_url":"https://api.github.com/users/gtrainavicius/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":20,"created_at":"2016-06-05T12:29:36Z","updated_at":"2016-06-06T23:24:10Z","closed_at":null,"body":"Hello,\r\n\r\nWe are developing an audio card for RPI with one stereo input and one stereo output, and we've hit a stuttering issue with playing audio while at the same time recording. If audio is just being played without recording at the same time it is played alright.\r\n\r\nOn our board we use the following configuration: the ADC is the I2S master, DAC is a slave and RPI is a slave.\r\n\r\nFurthermore, the same card with the same module code works just fine on RPI 2, even on the 4.4.x kernel, and RPI 3 itself works fine on 4.1.x kernel, with the same code apart from .dtb instead of .dtbo for the overlay and one argument less for GPIOD family of functions.\r\n\r\nPlease see the screenshot below, it was produced by loopbacking the input and output of the card with a cable, generating a 440Hz 30 second sine wave using audacity, then recording it using different sampling rates. As you can see, the 96000 sampling rate doesn't even record anything.\r\n\r\n![2016-06-05-121311_1824x984_scrot](https://cloud.githubusercontent.com/assets/477278/15805406/f3523a40-2b31-11e6-9f15-6cc998b7826c.png)\r\n\r\nThank you,\r\nGiedrius."},"comment":{"url":"https://api.github.com/repos/raspberrypi/linux/issues/comments/224118638","html_url":"https://github.com/raspberrypi/linux/issues/1517#issuecomment-224118638","issue_url":"https://api.github.com/repos/raspberrypi/linux/issues/1517","id":224118638,"user":{"login":"gtrainavicius","id":477278,"avatar_url":"https://avatars.githubusercontent.com/u/477278?v=3","gravatar_id":"","url":"https://api.github.com/users/gtrainavicius","html_url":"https://github.com/gtrainavicius","followers_url":"https://api.github.com/users/gtrainavicius/followers","following_url":"https://api.github.com/users/gtrainavicius/following{/other_user}","gists_url":"https://api.github.com/users/gtrainavicius/gists{/gist_id}","starred_url":"https://api.github.com/users/gtrainavicius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gtrainavicius/subscriptions","organizations_url":"https://api.github.com/users/gtrainavicius/orgs","repos_url":"https://api.github.com/users/gtrainavicius/repos","events_url":"https://api.github.com/users/gtrainavicius/events{/privacy}","received_events_url":"https://api.github.com/users/gtrainavicius/received_events","type":"User","site_admin":false},"created_at":"2016-06-06T23:24:10Z","updated_at":"2016-06-06T23:24:10Z","body":"@clivem @msperl I have tried building and running the kernel at https://github.com/msperl/linux-rpi/tree/rpi-next-merged-patches-not-accepted-upstream and the glitches are gone! Kernel version reported by uname is 4.4.8-v7\r\n\r\nWhen are you planning to merge the fixes to the main branch? I could run more builds to help you pick out just the right commits to fix this issue."}}
{"actor":{"display_login":"gtrainavicius"}}