{"action":"opened","issue":{"url":"https://api.github.com/repos/smartdevicelink/sdl_core/issues/491","repository_url":"https://api.github.com/repos/smartdevicelink/sdl_core","labels_url":"https://api.github.com/repos/smartdevicelink/sdl_core/issues/491/labels{/name}","comments_url":"https://api.github.com/repos/smartdevicelink/sdl_core/issues/491/comments","events_url":"https://api.github.com/repos/smartdevicelink/sdl_core/issues/491/events","html_url":"https://github.com/smartdevicelink/sdl_core/issues/491","id":148514315,"number":491,"title":"Microphone format not set, settings from PerformAudioPassThru request ignored by OnAudioPassThru notification","user":{"login":"chrisdrehernuance","id":18471671,"avatar_url":"https://avatars.githubusercontent.com/u/18471671?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisdrehernuance","html_url":"https://github.com/chrisdrehernuance","followers_url":"https://api.github.com/users/chrisdrehernuance/followers","following_url":"https://api.github.com/users/chrisdrehernuance/following{/other_user}","gists_url":"https://api.github.com/users/chrisdrehernuance/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisdrehernuance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisdrehernuance/subscriptions","organizations_url":"https://api.github.com/users/chrisdrehernuance/orgs","repos_url":"https://api.github.com/users/chrisdrehernuance/repos","events_url":"https://api.github.com/users/chrisdrehernuance/events{/privacy}","received_events_url":"https://api.github.com/users/chrisdrehernuance/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-14T23:51:34Z","updated_at":"2016-04-14T23:51:34Z","closed_at":null,"body":"The OnAudioPassThru notification sends microphone audio data from the HU to the mobile device as binary PCM data (preceded by a wav file header).  Unfortunately, this data does not match the PCM format requested in the preceding PerformAudioPassThru request from the phone.\r\n\r\nFor example, PerformAudioPassThru can request microphone audio data in a format of 8-bit PCM at 22KHz but OnAudioPassThru will return data in the OS's default format (ex: 16-bit 44KHz).\r\n\r\nRecommend updating the file from_mic_to_file_recorder_thread.cc to set the sampling Hz, the bits-per-sample, and number of channels."}}