{"action":"created","issue":{"url":"https://api.github.com/repos/thestk/rtaudio/issues/24","repository_url":"https://api.github.com/repos/thestk/rtaudio","labels_url":"https://api.github.com/repos/thestk/rtaudio/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/thestk/rtaudio/issues/24/comments","events_url":"https://api.github.com/repos/thestk/rtaudio/issues/24/events","html_url":"https://github.com/thestk/rtaudio/issues/24","id":43725293,"number":24,"title":"Distorted audio on simple ASIO loop through","user":{"login":"jheliker","id":6565523,"avatar_url":"https://avatars.githubusercontent.com/u/6565523?v=3","gravatar_id":"","url":"https://api.github.com/users/jheliker","html_url":"https://github.com/jheliker","followers_url":"https://api.github.com/users/jheliker/followers","following_url":"https://api.github.com/users/jheliker/following{/other_user}","gists_url":"https://api.github.com/users/jheliker/gists{/gist_id}","starred_url":"https://api.github.com/users/jheliker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jheliker/subscriptions","organizations_url":"https://api.github.com/users/jheliker/orgs","repos_url":"https://api.github.com/users/jheliker/repos","events_url":"https://api.github.com/users/jheliker/events{/privacy}","received_events_url":"https://api.github.com/users/jheliker/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2014-09-24T06:54:16Z","updated_at":"2016-08-16T14:14:18Z","closed_at":"2016-08-16T14:14:18Z","body":"Hello - \r\n\r\nI am currently testing RtAudio in hopes to use it on a project, and am getting unexpected results!\r\n\r\nGiven my code below (hooked up to a known-good ASIO device), I would expect my output to be essentially a copy of my input; that said it is very distorted and only somewhat recognizable with all the static / noise. Using Audacity or other known-good software I can run the same test on my hardware with no audible problems.\r\n\r\nMy setup is very simple:\r\n\r\naudioDriver->openStream(&parameters, &parameters, RTAUDIO_SINT16, sampleRate, &bufferFrames, &input, NULL, &options);\r\naudioDriver->startStream();\r\n\r\nAnd my callback is very simple too:\r\n\r\nint input(void *outputBuffer, void *inputBuffer, unsigned int nBufferFrames,\r\n\tdouble streamTime, RtAudioStreamStatus status, void *userData)\r\n{\t\r\n\tif (status)\r\n\t\tstd::cout << \"input: \" << status << std::endl;\r\n\tmemcpy(outputBuffer, inputBuffer, nBufferFrames);\r\n\treturn 0;\r\n}\r\n\r\nAny insight you could offer would be so appreciated!! Sorry if this is the wrong place to post a question / issue of this nature.\r\n\r\nKind Regards,\r\n\r\n - James Heliker"},"comment":{"url":"https://api.github.com/repos/thestk/rtaudio/issues/comments/240114650","html_url":"https://github.com/thestk/rtaudio/issues/24#issuecomment-240114650","issue_url":"https://api.github.com/repos/thestk/rtaudio/issues/24","id":240114650,"user":{"login":"radarsat1","id":66805,"avatar_url":"https://avatars.githubusercontent.com/u/66805?v=3","gravatar_id":"","url":"https://api.github.com/users/radarsat1","html_url":"https://github.com/radarsat1","followers_url":"https://api.github.com/users/radarsat1/followers","following_url":"https://api.github.com/users/radarsat1/following{/other_user}","gists_url":"https://api.github.com/users/radarsat1/gists{/gist_id}","starred_url":"https://api.github.com/users/radarsat1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/radarsat1/subscriptions","organizations_url":"https://api.github.com/users/radarsat1/orgs","repos_url":"https://api.github.com/users/radarsat1/repos","events_url":"https://api.github.com/users/radarsat1/events{/privacy}","received_events_url":"https://api.github.com/users/radarsat1/received_events","type":"User","site_admin":false},"created_at":"2016-08-16T14:14:18Z","updated_at":"2016-08-16T14:14:18Z","body":"Closing because no response in several months."}}
{"actor":{"display_login":"radarsat1"}}