{"action":"created","issue":{"url":"https://api.github.com/repos/mpruett/audiofile/issues/25","labels_url":"https://api.github.com/repos/mpruett/audiofile/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/mpruett/audiofile/issues/25/comments","events_url":"https://api.github.com/repos/mpruett/audiofile/issues/25/events","html_url":"https://github.com/mpruett/audiofile/pull/25","id":109626461,"number":25,"title":"Do not corrupt files when changing both number of channels and sample…","user":{"login":"fabzzap","id":2506992,"avatar_url":"https://avatars.githubusercontent.com/u/2506992?v=3","gravatar_id":"","url":"https://api.github.com/users/fabzzap","html_url":"https://github.com/fabzzap","followers_url":"https://api.github.com/users/fabzzap/followers","following_url":"https://api.github.com/users/fabzzap/following{/other_user}","gists_url":"https://api.github.com/users/fabzzap/gists{/gist_id}","starred_url":"https://api.github.com/users/fabzzap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabzzap/subscriptions","organizations_url":"https://api.github.com/users/fabzzap/orgs","repos_url":"https://api.github.com/users/fabzzap/repos","events_url":"https://api.github.com/users/fabzzap/events{/privacy}","received_events_url":"https://api.github.com/users/fabzzap/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-03T14:59:51Z","updated_at":"2015-10-08T22:10:10Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mpruett/audiofile/pulls/25","html_url":"https://github.com/mpruett/audiofile/pull/25","diff_url":"https://github.com/mpruett/audiofile/pull/25.diff","patch_url":"https://github.com/mpruett/audiofile/pull/25.patch"},"body":"Example: open a 16-bit stereo file and convert it to mono 32-bit by using\r\n    afSetVirtualChannels(fh, AF_DEFAULT_TRACK, 1);\r\n    afSetVirtualSampleFormat(fh, AF_DEFAULT_TRACK, AF_SAMPFMT_TWOSCOMP, 32);\r\nThe resulting samples read with afReadFrames will be corrupted.\r\n"},"comment":{"url":"https://api.github.com/repos/mpruett/audiofile/issues/comments/146700795","html_url":"https://github.com/mpruett/audiofile/pull/25#issuecomment-146700795","issue_url":"https://api.github.com/repos/mpruett/audiofile/issues/25","id":146700795,"user":{"login":"fabzzap","id":2506992,"avatar_url":"https://avatars.githubusercontent.com/u/2506992?v=3","gravatar_id":"","url":"https://api.github.com/users/fabzzap","html_url":"https://github.com/fabzzap","followers_url":"https://api.github.com/users/fabzzap/followers","following_url":"https://api.github.com/users/fabzzap/following{/other_user}","gists_url":"https://api.github.com/users/fabzzap/gists{/gist_id}","starred_url":"https://api.github.com/users/fabzzap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabzzap/subscriptions","organizations_url":"https://api.github.com/users/fabzzap/orgs","repos_url":"https://api.github.com/users/fabzzap/repos","events_url":"https://api.github.com/users/fabzzap/events{/privacy}","received_events_url":"https://api.github.com/users/fabzzap/received_events","type":"User","site_admin":false},"created_at":"2015-10-08T22:10:10Z","updated_at":"2015-10-08T22:10:10Z","body":"mschwendt: maybe different compilers round to integers in different ways? I get the same error on Linux, but on Windows the test passes"}}