{"action":"created","issue":{"url":"https://api.github.com/repos/karlstav/cava/issues/34","labels_url":"https://api.github.com/repos/karlstav/cava/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/karlstav/cava/issues/34/comments","events_url":"https://api.github.com/repos/karlstav/cava/issues/34/events","html_url":"https://github.com/karlstav/cava/issues/34","id":78540109,"number":34,"title":"Windows build / switch to PortAudio","user":{"login":"CelestialWalrus","id":6376571,"avatar_url":"https://avatars.githubusercontent.com/u/6376571?v=3","gravatar_id":"","url":"https://api.github.com/users/CelestialWalrus","html_url":"https://github.com/CelestialWalrus","followers_url":"https://api.github.com/users/CelestialWalrus/followers","following_url":"https://api.github.com/users/CelestialWalrus/following{/other_user}","gists_url":"https://api.github.com/users/CelestialWalrus/gists{/gist_id}","starred_url":"https://api.github.com/users/CelestialWalrus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CelestialWalrus/subscriptions","organizations_url":"https://api.github.com/users/CelestialWalrus/orgs","repos_url":"https://api.github.com/users/CelestialWalrus/repos","events_url":"https://api.github.com/users/CelestialWalrus/events{/privacy}","received_events_url":"https://api.github.com/users/CelestialWalrus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-20T14:06:54Z","updated_at":"2015-05-20T15:29:02Z","closed_at":null,"body":"Well, I was thinking about porting cava to Windows & OS X, and I think a switch to PortAudio would be great, because it solves some of the issues.\r\n\r\nAlso: I think you can use PortAudio on Android, so that'd be nice.\r\n\r\n> PortAudio is a free, cross-platform, open-source, audio I/O library.  It lets you write simple audio programs in 'C' or C++ that will compile and run on many platforms including Windows, Macintosh OS X, and Unix (OSS/ALSA)."},"comment":{"url":"https://api.github.com/repos/karlstav/cava/issues/comments/103926033","html_url":"https://github.com/karlstav/cava/issues/34#issuecomment-103926033","issue_url":"https://api.github.com/repos/karlstav/cava/issues/34","id":103926033,"user":{"login":"CelestialWalrus","id":6376571,"avatar_url":"https://avatars.githubusercontent.com/u/6376571?v=3","gravatar_id":"","url":"https://api.github.com/users/CelestialWalrus","html_url":"https://github.com/CelestialWalrus","followers_url":"https://api.github.com/users/CelestialWalrus/followers","following_url":"https://api.github.com/users/CelestialWalrus/following{/other_user}","gists_url":"https://api.github.com/users/CelestialWalrus/gists{/gist_id}","starred_url":"https://api.github.com/users/CelestialWalrus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CelestialWalrus/subscriptions","organizations_url":"https://api.github.com/users/CelestialWalrus/orgs","repos_url":"https://api.github.com/users/CelestialWalrus/repos","events_url":"https://api.github.com/users/CelestialWalrus/events{/privacy}","received_events_url":"https://api.github.com/users/CelestialWalrus/received_events","type":"User","site_admin":false},"created_at":"2015-05-20T15:29:02Z","updated_at":"2015-05-20T15:29:02Z","body":"> Windows has no ncurses—the console rendering library we'd like to use.\r\nWe could go with cygwin, which supports ncurses. You can distribute it with cygwin's dll to make cava standalone.\r\n\r\n> Since rendering likely differs most between OSs, having the code calculating bar heights separated from rendering (#24) would help.\r\nFramebuffer graphics would be great.\r\n\r\nThe biggest issue is that the code is so painfully nonmodular (i.e. the \"shared\" variable, which makes everything hard). I've tried to separate different parts (i.e. move input_alsa -> input/alsa.c; input_fifo -> input/fifo.c; drawing -> output/terminal.c; etc.), but I wasn't able to do it."}}