{"action":"created","issue":{"url":"https://api.github.com/repos/openframeworks/openFrameworks/issues/4388","labels_url":"https://api.github.com/repos/openframeworks/openFrameworks/issues/4388/labels{/name}","comments_url":"https://api.github.com/repos/openframeworks/openFrameworks/issues/4388/comments","events_url":"https://api.github.com/repos/openframeworks/openFrameworks/issues/4388/events","html_url":"https://github.com/openframeworks/openFrameworks/pull/4388","id":107617659,"number":4388,"title":"Enable specifying RTAudio Api","user":{"login":"DomAmato","id":6936055,"avatar_url":"https://avatars.githubusercontent.com/u/6936055?v=3","gravatar_id":"","url":"https://api.github.com/users/DomAmato","html_url":"https://github.com/DomAmato","followers_url":"https://api.github.com/users/DomAmato/followers","following_url":"https://api.github.com/users/DomAmato/following{/other_user}","gists_url":"https://api.github.com/users/DomAmato/gists{/gist_id}","starred_url":"https://api.github.com/users/DomAmato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DomAmato/subscriptions","organizations_url":"https://api.github.com/users/DomAmato/orgs","repos_url":"https://api.github.com/users/DomAmato/repos","events_url":"https://api.github.com/users/DomAmato/events{/privacy}","received_events_url":"https://api.github.com/users/DomAmato/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-21T23:24:24Z","updated_at":"2015-09-22T06:39:46Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openframeworks/openFrameworks/pulls/4388","html_url":"https://github.com/openframeworks/openFrameworks/pull/4388","diff_url":"https://github.com/openframeworks/openFrameworks/pull/4388.diff","patch_url":"https://github.com/openframeworks/openFrameworks/pull/4388.patch"},"body":"This PR is addressing this issue https://github.com/openframeworks/openFrameworks/issues/4380\r\n\r\nIm not sure this is the best method but it does work"},"comment":{"url":"https://api.github.com/repos/openframeworks/openFrameworks/issues/comments/142194729","html_url":"https://github.com/openframeworks/openFrameworks/pull/4388#issuecomment-142194729","issue_url":"https://api.github.com/repos/openframeworks/openFrameworks/issues/4388","id":142194729,"user":{"login":"arturoc","id":48240,"avatar_url":"https://avatars.githubusercontent.com/u/48240?v=3","gravatar_id":"","url":"https://api.github.com/users/arturoc","html_url":"https://github.com/arturoc","followers_url":"https://api.github.com/users/arturoc/followers","following_url":"https://api.github.com/users/arturoc/following{/other_user}","gists_url":"https://api.github.com/users/arturoc/gists{/gist_id}","starred_url":"https://api.github.com/users/arturoc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arturoc/subscriptions","organizations_url":"https://api.github.com/users/arturoc/orgs","repos_url":"https://api.github.com/users/arturoc/repos","events_url":"https://api.github.com/users/arturoc/events{/privacy}","received_events_url":"https://api.github.com/users/arturoc/received_events","type":"User","site_admin":false},"created_at":"2015-09-22T06:39:46Z","updated_at":"2015-09-22T06:39:46Z","body":"this methods with a ton of arguments are really hard to use, we should have some Settings class like we are doing in other places. That way also the settings can be passed to a plain `ofSoundStream` object.\r\n\r\ni'd have something like:\r\n\r\nofSoundStream::Settings\r\n    |_ofRtAudioSoundStream::Settings\r\n    |_ofxAndroidSoundStream::Settings\r\n    |_....\r\n\r\nwhere the hierarchy indicates inheritance. then we could even deprecate most of the setup methods and only have a simplified version perhaps with number of channels of in/out and a pointer to ofApp and then one with the settings object.\r\n\r\ntake a look at the window classes to see how it's done there"}}