{"action":"opened","issue":{"url":"https://api.github.com/repos/superpoweredSDK/Low-Latency-Android-Audio-iOS-Audio-Engine/issues/54","labels_url":"https://api.github.com/repos/superpoweredSDK/Low-Latency-Android-Audio-iOS-Audio-Engine/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/superpoweredSDK/Low-Latency-Android-Audio-iOS-Audio-Engine/issues/54/comments","events_url":"https://api.github.com/repos/superpoweredSDK/Low-Latency-Android-Audio-iOS-Audio-Engine/issues/54/events","html_url":"https://github.com/superpoweredSDK/Low-Latency-Android-Audio-iOS-Audio-Engine/issues/54","id":94917318,"number":54,"title":"How enapleInput/enableOutput in SuperpoweredAndroidAudioIO really works?","user":{"login":"iovorobiev","id":1309921,"avatar_url":"https://avatars.githubusercontent.com/u/1309921?v=3","gravatar_id":"","url":"https://api.github.com/users/iovorobiev","html_url":"https://github.com/iovorobiev","followers_url":"https://api.github.com/users/iovorobiev/followers","following_url":"https://api.github.com/users/iovorobiev/following{/other_user}","gists_url":"https://api.github.com/users/iovorobiev/gists{/gist_id}","starred_url":"https://api.github.com/users/iovorobiev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iovorobiev/subscriptions","organizations_url":"https://api.github.com/users/iovorobiev/orgs","repos_url":"https://api.github.com/users/iovorobiev/repos","events_url":"https://api.github.com/users/iovorobiev/events{/privacy}","received_events_url":"https://api.github.com/users/iovorobiev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-14T10:42:21Z","updated_at":"2015-07-14T10:42:21Z","closed_at":null,"body":"I am trying to record audio from microphone to file in android application with the help of SuperpoweredAndroidAudioIO.\r\n\r\n I am using this kind of code:\r\n```\r\naudio = new SuperpoweredAndroidAudioIO(44100, buffersize, true, true, callback, this, latency);\r\n```\r\nwhere callback is\r\n```\r\nstatic bool callback(void *clientdata, short int *audioIO, int numberOfSamples, int samplerate) {\r\n    return ((Recorder *)clientdata)->process(audioIO, numberOfSamples);\r\n}\r\n```\r\nand  process() is:\r\n```\r\nbool Recorder::process(short int *audioIO, int numberOfSamples) {\r\n    SuperpoweredShortIntToFloat(audioIO, buffer, numberOfSamples);\r\n    return superpoweredRecorder->process(buffer, NULL, numberOfSamples);\r\n}\r\n```\r\nWhen I set enableInput and enableOutput both to true, I am starting to hear what I've just recorded while recording process. But when I set one of these parameters to false (doesn't matter what exactly) audioIO array consists only from zeros. \r\n\r\nSo my question is: what exactly enableOutput and enableInput flags do and how can I disable playing what I've just recorded?\r\n"}}