{"action":"opened","number":44,"pull_request":{"url":"https://api.github.com/repos/voysis/voysis-js/pulls/44","id":233191266,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMzMTkxMjY2","html_url":"https://github.com/voysis/voysis-js/pull/44","diff_url":"https://github.com/voysis/voysis-js/pull/44.diff","patch_url":"https://github.com/voysis/voysis-js/pull/44.patch","issue_url":"https://api.github.com/repos/voysis/voysis-js/issues/44","number":44,"state":"open","locked":false,"title":"Only send the length of PCM data in the buffer on audio processing event, not the whole buffer.","user":{"login":"oranoceallaigh","id":6108259,"node_id":"MDQ6VXNlcjYxMDgyNTk=","avatar_url":"https://avatars0.githubusercontent.com/u/6108259?v=4","gravatar_id":"","url":"https://api.github.com/users/oranoceallaigh","html_url":"https://github.com/oranoceallaigh","followers_url":"https://api.github.com/users/oranoceallaigh/followers","following_url":"https://api.github.com/users/oranoceallaigh/following{/other_user}","gists_url":"https://api.github.com/users/oranoceallaigh/gists{/gist_id}","starred_url":"https://api.github.com/users/oranoceallaigh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oranoceallaigh/subscriptions","organizations_url":"https://api.github.com/users/oranoceallaigh/orgs","repos_url":"https://api.github.com/users/oranoceallaigh/repos","events_url":"https://api.github.com/users/oranoceallaigh/events{/privacy}","received_events_url":"https://api.github.com/users/oranoceallaigh/received_events","type":"User","site_admin":false},"body":"Previous impl was sending the entire buffer even though it might not have been filled. The `audioProcessingEvent.inputBuffer.length` field indicates how much PCM data is in the buffer.\r\n\r\nThis change also copies the data out of the buffer into a float array before trying to send it on the websocket. This ensures that the data in the buffer isn't overwritten while we are sending it on the websocket.","created_at":"2018-11-23T12:46:52Z","updated_at":"2018-11-23T12:46:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"oranoceallaigh","id":6108259,"node_id":"MDQ6VXNlcjYxMDgyNTk=","avatar_url":"https://avatars0.githubusercontent.com/u/6108259?v=4","gravatar_id":"","url":"https://api.github.com/users/oranoceallaigh","html_url":"https://github.com/oranoceallaigh","followers_url":"https://api.github.com/users/oranoceallaigh/followers","following_url":"https://api.github.com/users/oranoceallaigh/following{/other_user}","gists_url":"https://api.github.com/users/oranoceallaigh/gists{/gist_id}","starred_url":"https://api.github.com/users/oranoceallaigh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oranoceallaigh/subscriptions","organizations_url":"https://api.github.com/users/oranoceallaigh/orgs","repos_url":"https://api.github.com/users/oranoceallaigh/repos","events_url":"https://api.github.com/users/oranoceallaigh/events{/privacy}","received_events_url":"https://api.github.com/users/oranoceallaigh/received_events","type":"User","site_admin":false},"assignees":[{"login":"oranoceallaigh","id":6108259,"node_id":"MDQ6VXNlcjYxMDgyNTk=","avatar_url":"https://avatars0.githubusercontent.com/u/6108259?v=4","gravatar_id":"","url":"https://api.github.com/users/oranoceallaigh","html_url":"https://github.com/oranoceallaigh","followers_url":"https://api.github.com/users/oranoceallaigh/followers","following_url":"https://api.github.com/users/oranoceallaigh/following{/other_user}","gists_url":"https://api.github.com/users/oranoceallaigh/gists{/gist_id}","starred_url":"https://api.github.com/users/oranoceallaigh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oranoceallaigh/subscriptions","organizations_url":"https://api.github.com/users/oranoceallaigh/orgs","repos_url":"https://api.github.com/users/oranoceallaigh/repos","events_url":"https://api.github.com/users/oranoceallaigh/events{/privacy}","received_events_url":"https://api.github.com/users/oranoceallaigh/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/voysis/voysis-js/pulls/44/commits","review_comments_url":"https://api.github.com/repos/voysis/voysis-js/pulls/44/comments","review_comment_url":"https://api.github.com/repos/voysis/voysis-js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/voysis/voysis-js/issues/44/comments","statuses_url":"https://api.github.com/repos/voysis/voysis-js/statuses/55f87f8e0822e159b8d057893efb2038907a01da","head":{"label":"voysis:use-input-buffer-length","ref":"use-input-buffer-length","sha":"55f87f8e0822e159b8d057893efb2038907a01da","user":{"login":"voysis","id":33933066,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzOTMzMDY2","avatar_url":"https://avatars0.githubusercontent.com/u/33933066?v=4","gravatar_id":"","url":"https://api.github.com/users/voysis","html_url":"https://github.com/voysis","followers_url":"https://api.github.com/users/voysis/followers","following_url":"https://api.github.com/users/voysis/following{/other_user}","gists_url":"https://api.github.com/users/voysis/gists{/gist_id}","starred_url":"https://api.github.com/users/voysis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/voysis/subscriptions","organizations_url":"https://api.github.com/users/voysis/orgs","repos_url":"https://api.github.com/users/voysis/repos","events_url":"https://api.github.com/users/voysis/events{/privacy}","received_events_url":"https://api.github.com/users/voysis/received_events","type":"Organization","site_admin":false},"repo":{"id":118475778,"node_id":"MDEwOlJlcG9zaXRvcnkxMTg0NzU3Nzg=","name":"voysis-js","full_name":"voysis/voysis-js","private":false,"owner":{"login":"voysis","id":33933066,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzOTMzMDY2","avatar_url":"https://avatars0.githubusercontent.com/u/33933066?v=4","gravatar_id":"","url":"https://api.github.com/users/voysis","html_url":"https://github.com/voysis","followers_url":"https://api.github.com/users/voysis/followers","following_url":"https://api.github.com/users/voysis/following{/other_user}","gists_url":"https://api.github.com/users/voysis/gists{/gist_id}","starred_url":"https://api.github.com/users/voysis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/voysis/subscriptions","organizations_url":"https://api.github.com/users/voysis/orgs","repos_url":"https://api.github.com/users/voysis/repos","events_url":"https://api.github.com/users/voysis/events{/privacy}","received_events_url":"https://api.github.com/users/voysis/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/voysis/voysis-js","description":"This is a javascript library that facilitates sending voice queries to a Voysis instance.","fork":false,"url":"https://api.github.com/repos/voysis/voysis-js","forks_url":"https://api.github.com/repos/voysis/voysis-js/forks","keys_url":"https://api.github.com/repos/voysis/voysis-js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/voysis/voysis-js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/voysis/voysis-js/teams","hooks_url":"https://api.github.com/repos/voysis/voysis-js/hooks","issue_events_url":"https://api.github.com/repos/voysis/voysis-js/issues/events{/number}","events_url":"https://api.github.com/repos/voysis/voysis-js/events","assignees_url":"https://api.github.com/repos/voysis/voysis-js/assignees{/user}","branches_url":"https://api.github.com/repos/voysis/voysis-js/branches{/branch}","tags_url":"https://api.github.com/repos/voysis/voysis-js/tags","blobs_url":"https://api.github.com/repos/voysis/voysis-js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/voysis/voysis-js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/voysis/voysis-js/git/refs{/sha}","trees_url":"https://api.github.com/repos/voysis/voysis-js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/voysis/voysis-js/statuses/{sha}","languages_url":"https://api.github.com/repos/voysis/voysis-js/languages","stargazers_url":"https://api.github.com/repos/voysis/voysis-js/stargazers","contributors_url":"https://api.github.com/repos/voysis/voysis-js/contributors","subscribers_url":"https://api.github.com/repos/voysis/voysis-js/subscribers","subscription_url":"https://api.github.com/repos/voysis/voysis-js/subscription","commits_url":"https://api.github.com/repos/voysis/voysis-js/commits{/sha}","git_commits_url":"https://api.github.com/repos/voysis/voysis-js/git/commits{/sha}","comments_url":"https://api.github.com/repos/voysis/voysis-js/comments{/number}","issue_comment_url":"https://api.github.com/repos/voysis/voysis-js/issues/comments{/number}","contents_url":"https://api.github.com/repos/voysis/voysis-js/contents/{+path}","compare_url":"https://api.github.com/repos/voysis/voysis-js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/voysis/voysis-js/merges","archive_url":"https://api.github.com/repos/voysis/voysis-js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/voysis/voysis-js/downloads","issues_url":"https://api.github.com/repos/voysis/voysis-js/issues{/number}","pulls_url":"https://api.github.com/repos/voysis/voysis-js/pulls{/number}","milestones_url":"https://api.github.com/repos/voysis/voysis-js/milestones{/number}","notifications_url":"https://api.github.com/repos/voysis/voysis-js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/voysis/voysis-js/labels{/name}","releases_url":"https://api.github.com/repos/voysis/voysis-js/releases{/id}","deployments_url":"https://api.github.com/repos/voysis/voysis-js/deployments","created_at":"2018-01-22T15:29:29Z","updated_at":"2018-11-16T16:42:47Z","pushed_at":"2018-11-23T12:44:20Z","git_url":"git://github.com/voysis/voysis-js.git","ssh_url":"git@github.com:voysis/voysis-js.git","clone_url":"https://github.com/voysis/voysis-js.git","svn_url":"https://github.com/voysis/voysis-js","homepage":null,"size":174,"stargazers_count":3,"watchers_count":3,"language":"CSS","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":3,"open_issues":1,"watchers":3,"default_branch":"master"}},"base":{"label":"voysis:master","ref":"master","sha":"5495ef8906d31cfbcfafed547e62213687d5d0d0","user":{"login":"voysis","id":33933066,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzOTMzMDY2","avatar_url":"https://avatars0.githubusercontent.com/u/33933066?v=4","gravatar_id":"","url":"https://api.github.com/users/voysis","html_url":"https://github.com/voysis","followers_url":"https://api.github.com/users/voysis/followers","following_url":"https://api.github.com/users/voysis/following{/other_user}","gists_url":"https://api.github.com/users/voysis/gists{/gist_id}","starred_url":"https://api.github.com/users/voysis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/voysis/subscriptions","organizations_url":"https://api.github.com/users/voysis/orgs","repos_url":"https://api.github.com/users/voysis/repos","events_url":"https://api.github.com/users/voysis/events{/privacy}","received_events_url":"https://api.github.com/users/voysis/received_events","type":"Organization","site_admin":false},"repo":{"id":118475778,"node_id":"MDEwOlJlcG9zaXRvcnkxMTg0NzU3Nzg=","name":"voysis-js","full_name":"voysis/voysis-js","private":false,"owner":{"login":"voysis","id":33933066,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzOTMzMDY2","avatar_url":"https://avatars0.githubusercontent.com/u/33933066?v=4","gravatar_id":"","url":"https://api.github.com/users/voysis","html_url":"https://github.com/voysis","followers_url":"https://api.github.com/users/voysis/followers","following_url":"https://api.github.com/users/voysis/following{/other_user}","gists_url":"https://api.github.com/users/voysis/gists{/gist_id}","starred_url":"https://api.github.com/users/voysis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/voysis/subscriptions","organizations_url":"https://api.github.com/users/voysis/orgs","repos_url":"https://api.github.com/users/voysis/repos","events_url":"https://api.github.com/users/voysis/events{/privacy}","received_events_url":"https://api.github.com/users/voysis/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/voysis/voysis-js","description":"This is a javascript library that facilitates sending voice queries to a Voysis instance.","fork":false,"url":"https://api.github.com/repos/voysis/voysis-js","forks_url":"https://api.github.com/repos/voysis/voysis-js/forks","keys_url":"https://api.github.com/repos/voysis/voysis-js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/voysis/voysis-js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/voysis/voysis-js/teams","hooks_url":"https://api.github.com/repos/voysis/voysis-js/hooks","issue_events_url":"https://api.github.com/repos/voysis/voysis-js/issues/events{/number}","events_url":"https://api.github.com/repos/voysis/voysis-js/events","assignees_url":"https://api.github.com/repos/voysis/voysis-js/assignees{/user}","branches_url":"https://api.github.com/repos/voysis/voysis-js/branches{/branch}","tags_url":"https://api.github.com/repos/voysis/voysis-js/tags","blobs_url":"https://api.github.com/repos/voysis/voysis-js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/voysis/voysis-js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/voysis/voysis-js/git/refs{/sha}","trees_url":"https://api.github.com/repos/voysis/voysis-js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/voysis/voysis-js/statuses/{sha}","languages_url":"https://api.github.com/repos/voysis/voysis-js/languages","stargazers_url":"https://api.github.com/repos/voysis/voysis-js/stargazers","contributors_url":"https://api.github.com/repos/voysis/voysis-js/contributors","subscribers_url":"https://api.github.com/repos/voysis/voysis-js/subscribers","subscription_url":"https://api.github.com/repos/voysis/voysis-js/subscription","commits_url":"https://api.github.com/repos/voysis/voysis-js/commits{/sha}","git_commits_url":"https://api.github.com/repos/voysis/voysis-js/git/commits{/sha}","comments_url":"https://api.github.com/repos/voysis/voysis-js/comments{/number}","issue_comment_url":"https://api.github.com/repos/voysis/voysis-js/issues/comments{/number}","contents_url":"https://api.github.com/repos/voysis/voysis-js/contents/{+path}","compare_url":"https://api.github.com/repos/voysis/voysis-js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/voysis/voysis-js/merges","archive_url":"https://api.github.com/repos/voysis/voysis-js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/voysis/voysis-js/downloads","issues_url":"https://api.github.com/repos/voysis/voysis-js/issues{/number}","pulls_url":"https://api.github.com/repos/voysis/voysis-js/pulls{/number}","milestones_url":"https://api.github.com/repos/voysis/voysis-js/milestones{/number}","notifications_url":"https://api.github.com/repos/voysis/voysis-js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/voysis/voysis-js/labels{/name}","releases_url":"https://api.github.com/repos/voysis/voysis-js/releases{/id}","deployments_url":"https://api.github.com/repos/voysis/voysis-js/deployments","created_at":"2018-01-22T15:29:29Z","updated_at":"2018-11-16T16:42:47Z","pushed_at":"2018-11-23T12:44:20Z","git_url":"git://github.com/voysis/voysis-js.git","ssh_url":"git@github.com:voysis/voysis-js.git","clone_url":"https://github.com/voysis/voysis-js.git","svn_url":"https://github.com/voysis/voysis-js","homepage":null,"size":174,"stargazers_count":3,"watchers_count":3,"language":"CSS","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":3,"open_issues":1,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/voysis/voysis-js/pulls/44"},"html":{"href":"https://github.com/voysis/voysis-js/pull/44"},"issue":{"href":"https://api.github.com/repos/voysis/voysis-js/issues/44"},"comments":{"href":"https://api.github.com/repos/voysis/voysis-js/issues/44/comments"},"review_comments":{"href":"https://api.github.com/repos/voysis/voysis-js/pulls/44/comments"},"review_comment":{"href":"https://api.github.com/repos/voysis/voysis-js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/voysis/voysis-js/pulls/44/commits"},"statuses":{"href":"https://api.github.com/repos/voysis/voysis-js/statuses/55f87f8e0822e159b8d057893efb2038907a01da"}},"author_association":"COLLABORATOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":3,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"oranoceallaigh"}}