{"action":"created","issue":{"url":"https://api.github.com/repos/lindenbergresearch/LRTRack/issues/2","repository_url":"https://api.github.com/repos/lindenbergresearch/LRTRack","labels_url":"https://api.github.com/repos/lindenbergresearch/LRTRack/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/lindenbergresearch/LRTRack/issues/2/comments","events_url":"https://api.github.com/repos/lindenbergresearch/LRTRack/issues/2/events","html_url":"https://github.com/lindenbergresearch/LRTRack/issues/2","id":275190465,"number":2,"title":"src/SimpleFilter.cpp:84:39: error: ‘gSampleRate’ was not declared in this scope","user":{"login":"senisioi","id":1649296,"avatar_url":"https://avatars2.githubusercontent.com/u/1649296?v=4","gravatar_id":"","url":"https://api.github.com/users/senisioi","html_url":"https://github.com/senisioi","followers_url":"https://api.github.com/users/senisioi/followers","following_url":"https://api.github.com/users/senisioi/following{/other_user}","gists_url":"https://api.github.com/users/senisioi/gists{/gist_id}","starred_url":"https://api.github.com/users/senisioi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/senisioi/subscriptions","organizations_url":"https://api.github.com/users/senisioi/orgs","repos_url":"https://api.github.com/users/senisioi/repos","events_url":"https://api.github.com/users/senisioi/events{/privacy}","received_events_url":"https://api.github.com/users/senisioi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-11-19T20:40:18Z","updated_at":"2017-11-20T08:37:55Z","closed_at":null,"author_association":"NONE","body":"Compiling this code with the latest Rack checkout throws some errors. The Plugin instance is not needed when calling createModel and std:: has to be specified before calling the abs function.\r\nActually, the init function should look something like this to be compatible with the latest rack:\r\n```\r\nvoid init(rack::Plugin *p) {\r\n    plugin = p;\r\n    plugin->slug = \"Lindenberg Research\";\r\n    p->addModel(createModel<SimpleFilterWidget>(\"Lindenberg Research\", \"LPFilter24dB\", \"24dB Lowpass Filter\"));\r\n    p->addModel(createModel<BlankPanelWidget>(\"Lindenberg Research\", \"BlankPanel\", \"Blank Panel 26TE\"));\r\n    p->addModel(createModel<ReShaperWidget>(\"Lindenberg Research\", \"ReShaper\", \"ReShaper Wavefolder\"));\r\n}\r\n```\r\nAfter doing these changes, I'm left with the error  ‘gSampleRate’ was not declared in this scope. \r\nWhere is this variable coming from?"},"comment":{"url":"https://api.github.com/repos/lindenbergresearch/LRTRack/issues/comments/345626126","html_url":"https://github.com/lindenbergresearch/LRTRack/issues/2#issuecomment-345626126","issue_url":"https://api.github.com/repos/lindenbergresearch/LRTRack/issues/2","id":345626126,"user":{"login":"lindenbergresearch","id":11198956,"avatar_url":"https://avatars3.githubusercontent.com/u/11198956?v=4","gravatar_id":"","url":"https://api.github.com/users/lindenbergresearch","html_url":"https://github.com/lindenbergresearch","followers_url":"https://api.github.com/users/lindenbergresearch/followers","following_url":"https://api.github.com/users/lindenbergresearch/following{/other_user}","gists_url":"https://api.github.com/users/lindenbergresearch/gists{/gist_id}","starred_url":"https://api.github.com/users/lindenbergresearch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lindenbergresearch/subscriptions","organizations_url":"https://api.github.com/users/lindenbergresearch/orgs","repos_url":"https://api.github.com/users/lindenbergresearch/repos","events_url":"https://api.github.com/users/lindenbergresearch/events{/privacy}","received_events_url":"https://api.github.com/users/lindenbergresearch/received_events","type":"User","site_admin":false},"created_at":"2017-11-20T08:37:55Z","updated_at":"2017-11-20T08:37:55Z","author_association":"OWNER","body":"These are issues for Rack v0.5.0, I will prepare today to work with the new version of Rack. I accepted the request, thanks for your help gentleman! "}}
{"actor":{"display_login":"lindenbergresearch"}}