{"action":"created","issue":{"url":"https://api.github.com/repos/google/ExoPlayer/issues/5282","repository_url":"https://api.github.com/repos/google/ExoPlayer","labels_url":"https://api.github.com/repos/google/ExoPlayer/issues/5282/labels{/name}","comments_url":"https://api.github.com/repos/google/ExoPlayer/issues/5282/comments","events_url":"https://api.github.com/repos/google/ExoPlayer/issues/5282/events","html_url":"https://github.com/google/ExoPlayer/issues/5282","id":392766539,"node_id":"MDU6SXNzdWUzOTI3NjY1Mzk=","number":5282,"title":"How to create AudioProcessor to boost volume","user":{"login":"izderadicka","id":2185733,"node_id":"MDQ6VXNlcjIxODU3MzM=","avatar_url":"https://avatars0.githubusercontent.com/u/2185733?v=4","gravatar_id":"","url":"https://api.github.com/users/izderadicka","html_url":"https://github.com/izderadicka","followers_url":"https://api.github.com/users/izderadicka/followers","following_url":"https://api.github.com/users/izderadicka/following{/other_user}","gists_url":"https://api.github.com/users/izderadicka/gists{/gist_id}","starred_url":"https://api.github.com/users/izderadicka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/izderadicka/subscriptions","organizations_url":"https://api.github.com/users/izderadicka/orgs","repos_url":"https://api.github.com/users/izderadicka/repos","events_url":"https://api.github.com/users/izderadicka/events{/privacy}","received_events_url":"https://api.github.com/users/izderadicka/received_events","type":"User","site_admin":false},"labels":[{"id":106814994,"node_id":"MDU6TGFiZWwxMDY4MTQ5OTQ=","url":"https://api.github.com/repos/google/ExoPlayer/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":{"login":"andrewlewis","id":107897,"node_id":"MDQ6VXNlcjEwNzg5Nw==","avatar_url":"https://avatars3.githubusercontent.com/u/107897?v=4","gravatar_id":"","url":"https://api.github.com/users/andrewlewis","html_url":"https://github.com/andrewlewis","followers_url":"https://api.github.com/users/andrewlewis/followers","following_url":"https://api.github.com/users/andrewlewis/following{/other_user}","gists_url":"https://api.github.com/users/andrewlewis/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewlewis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewlewis/subscriptions","organizations_url":"https://api.github.com/users/andrewlewis/orgs","repos_url":"https://api.github.com/users/andrewlewis/repos","events_url":"https://api.github.com/users/andrewlewis/events{/privacy}","received_events_url":"https://api.github.com/users/andrewlewis/received_events","type":"User","site_admin":false},"assignees":[{"login":"andrewlewis","id":107897,"node_id":"MDQ6VXNlcjEwNzg5Nw==","avatar_url":"https://avatars3.githubusercontent.com/u/107897?v=4","gravatar_id":"","url":"https://api.github.com/users/andrewlewis","html_url":"https://github.com/andrewlewis","followers_url":"https://api.github.com/users/andrewlewis/followers","following_url":"https://api.github.com/users/andrewlewis/following{/other_user}","gists_url":"https://api.github.com/users/andrewlewis/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewlewis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewlewis/subscriptions","organizations_url":"https://api.github.com/users/andrewlewis/orgs","repos_url":"https://api.github.com/users/andrewlewis/repos","events_url":"https://api.github.com/users/andrewlewis/events{/privacy}","received_events_url":"https://api.github.com/users/andrewlewis/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2018-12-19T20:32:09Z","updated_at":"2019-01-02T14:07:15Z","closed_at":"2019-01-02T14:07:15Z","author_association":"NONE","body":"I read issues #3657 where @andrewlewis  is saying that to increase volume above normal limits  one should implement custom AudioProcessor.\r\n\r\nI've made couple of test, but not sure how to implement it, key problem is that input PCM data (16 bit PCM) into my AudioProcessor are already normalized to 16 bit range (so values are already in range 32768 - 32767) , so there is no space to increase amplitude more.\r\n\r\nI tried to change output encoding to PCM 32 bits to have some space for increase, but then got unhanded configuration exception \r\n\r\n(And generally it looks like only PCM 16 bit is supported.\r\nCustom AudioProcessors seem to be used before standard processors - especially SilenceSkippingAudioProcessor, which requires PCM 16 bit as it's input -  so I guess if I'll change resolution to 24 or 32 bits it'll not be working.)\r\n\r\nCan you provide bit more detailed advice how to implement AudioProcessor to boost volume? Or is there any other trick I can use? Any ideas are welcomed.\r\nThanks"},"comment":{"url":"https://api.github.com/repos/google/ExoPlayer/issues/comments/450871692","html_url":"https://github.com/google/ExoPlayer/issues/5282#issuecomment-450871692","issue_url":"https://api.github.com/repos/google/ExoPlayer/issues/5282","id":450871692,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MDg3MTY5Mg==","user":{"login":"izderadicka","id":2185733,"node_id":"MDQ6VXNlcjIxODU3MzM=","avatar_url":"https://avatars0.githubusercontent.com/u/2185733?v=4","gravatar_id":"","url":"https://api.github.com/users/izderadicka","html_url":"https://github.com/izderadicka","followers_url":"https://api.github.com/users/izderadicka/followers","following_url":"https://api.github.com/users/izderadicka/following{/other_user}","gists_url":"https://api.github.com/users/izderadicka/gists{/gist_id}","starred_url":"https://api.github.com/users/izderadicka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/izderadicka/subscriptions","organizations_url":"https://api.github.com/users/izderadicka/orgs","repos_url":"https://api.github.com/users/izderadicka/repos","events_url":"https://api.github.com/users/izderadicka/events{/privacy}","received_events_url":"https://api.github.com/users/izderadicka/received_events","type":"User","site_admin":false},"created_at":"2019-01-02T14:07:15Z","updated_at":"2019-01-02T14:07:15Z","author_association":"NONE","body":"@andrewlewis - this was it - thanks a million. What a stupid error, I indeed wantedit  to be field of my class, just put there val by mistake and was it. Poor `LoudnessEnhancer` got shredded. I updated the code above to correct one, if someone in future has similar question."}}
{"actor":{"display_login":"izderadicka"}}