{"action":"created","issue":{"url":"https://api.github.com/repos/thesofproject/sof/issues/327","repository_url":"https://api.github.com/repos/thesofproject/sof","labels_url":"https://api.github.com/repos/thesofproject/sof/issues/327/labels{/name}","comments_url":"https://api.github.com/repos/thesofproject/sof/issues/327/comments","events_url":"https://api.github.com/repos/thesofproject/sof/issues/327/events","html_url":"https://github.com/thesofproject/sof/issues/327","id":358082886,"node_id":"MDU6SXNzdWUzNTgwODI4ODY=","number":327,"title":"DMIC capture accepts 4ch recording but gives corrupted audio when configured for 2ch","user":{"login":"singalsu","id":28754793,"node_id":"MDQ6VXNlcjI4NzU0Nzkz","avatar_url":"https://avatars0.githubusercontent.com/u/28754793?v=4","gravatar_id":"","url":"https://api.github.com/users/singalsu","html_url":"https://github.com/singalsu","followers_url":"https://api.github.com/users/singalsu/followers","following_url":"https://api.github.com/users/singalsu/following{/other_user}","gists_url":"https://api.github.com/users/singalsu/gists{/gist_id}","starred_url":"https://api.github.com/users/singalsu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/singalsu/subscriptions","organizations_url":"https://api.github.com/users/singalsu/orgs","repos_url":"https://api.github.com/users/singalsu/repos","events_url":"https://api.github.com/users/singalsu/events{/privacy}","received_events_url":"https://api.github.com/users/singalsu/received_events","type":"User","site_admin":false},"labels":[{"id":1026948283,"node_id":"MDU6TGFiZWwxMDI2OTQ4Mjgz","url":"https://api.github.com/repos/thesofproject/sof/labels/P2","name":"P2","color":"ffac3f","default":false},{"id":950784215,"node_id":"MDU6TGFiZWw5NTA3ODQyMTU=","url":"https://api.github.com/repos/thesofproject/sof/labels/bug","name":"bug","color":"d73a4a","default":true}],"state":"open","locked":false,"assignee":{"login":"singalsu","id":28754793,"node_id":"MDQ6VXNlcjI4NzU0Nzkz","avatar_url":"https://avatars0.githubusercontent.com/u/28754793?v=4","gravatar_id":"","url":"https://api.github.com/users/singalsu","html_url":"https://github.com/singalsu","followers_url":"https://api.github.com/users/singalsu/followers","following_url":"https://api.github.com/users/singalsu/following{/other_user}","gists_url":"https://api.github.com/users/singalsu/gists{/gist_id}","starred_url":"https://api.github.com/users/singalsu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/singalsu/subscriptions","organizations_url":"https://api.github.com/users/singalsu/orgs","repos_url":"https://api.github.com/users/singalsu/repos","events_url":"https://api.github.com/users/singalsu/events{/privacy}","received_events_url":"https://api.github.com/users/singalsu/received_events","type":"User","site_admin":false},"assignees":[{"login":"singalsu","id":28754793,"node_id":"MDQ6VXNlcjI4NzU0Nzkz","avatar_url":"https://avatars0.githubusercontent.com/u/28754793?v=4","gravatar_id":"","url":"https://api.github.com/users/singalsu","html_url":"https://github.com/singalsu","followers_url":"https://api.github.com/users/singalsu/followers","following_url":"https://api.github.com/users/singalsu/following{/other_user}","gists_url":"https://api.github.com/users/singalsu/gists{/gist_id}","starred_url":"https://api.github.com/users/singalsu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/singalsu/subscriptions","organizations_url":"https://api.github.com/users/singalsu/orgs","repos_url":"https://api.github.com/users/singalsu/repos","events_url":"https://api.github.com/users/singalsu/events{/privacy}","received_events_url":"https://api.github.com/users/singalsu/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-09-07T14:11:02Z","updated_at":"2018-10-12T08:53:39Z","closed_at":null,"author_association":"COLLABORATOR","body":"The number of channels (used PDM stereo controllers count) is defined in topology parameters. Now the capture runs but results corrupted audio. Example of this kind of violation is to use topology sof-apl-nocodec.tplg or sof-apl-da7219.m4 and run capture like:\r\n\r\ntime arecord -Dhw:0,6 -c 4 -f S32_LE -r 48000 -d10 tmp.wav --dump-hw-params\r\n\r\nThe time print shows that such capture will take 20s instead of requested 10. The 2ch audio samples will be distributed to all 4ch and recording will sound double speed and double pitch.\r\n\r\nThe proper driver behavior should be to reject capture of non-matching channels count."},"comment":{"url":"https://api.github.com/repos/thesofproject/sof/issues/comments/429254454","html_url":"https://github.com/thesofproject/sof/issues/327#issuecomment-429254454","issue_url":"https://api.github.com/repos/thesofproject/sof/issues/327","id":429254454,"node_id":"MDEyOklzc3VlQ29tbWVudDQyOTI1NDQ1NA==","user":{"login":"singalsu","id":28754793,"node_id":"MDQ6VXNlcjI4NzU0Nzkz","avatar_url":"https://avatars0.githubusercontent.com/u/28754793?v=4","gravatar_id":"","url":"https://api.github.com/users/singalsu","html_url":"https://github.com/singalsu","followers_url":"https://api.github.com/users/singalsu/followers","following_url":"https://api.github.com/users/singalsu/following{/other_user}","gists_url":"https://api.github.com/users/singalsu/gists{/gist_id}","starred_url":"https://api.github.com/users/singalsu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/singalsu/subscriptions","organizations_url":"https://api.github.com/users/singalsu/orgs","repos_url":"https://api.github.com/users/singalsu/repos","events_url":"https://api.github.com/users/singalsu/events{/privacy}","received_events_url":"https://api.github.com/users/singalsu/received_events","type":"User","site_admin":false},"created_at":"2018-10-12T08:53:39Z","updated_at":"2018-10-12T08:53:39Z","author_association":"COLLABORATOR","body":"As update the fix is under construction in SOFT PR #90."}}
{"actor":{"display_login":"singalsu"}}