{"issue":{"pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"state":"open","user":{"avatar_url":"https://secure.gravatar.com/avatar/f5f2035f07c635d24c62cf211d37f3d4?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"f5f2035f07c635d24c62cf211d37f3d4","url":"https://api.github.com/users/mistydemeo","login":"mistydemeo","id":780485},"milestone":null,"labels":[],"assignee":null,"updated_at":"2011-10-31T16:01:29Z","closed_at":null,"comments":2,"url":"https://api.github.com/repos/nagachika/ruby-coreaudio/issues/4","body":"When trying to run the `record_to_wave` example script given, I got the error:\r\n\r\n```record_to_wave.rb:4:in `default_input_device': NULL pointer given (ArgumentError)\r\n\tfrom record_to_wave.rb:4:in `<main>'```\r\n\r\nThis happens whenever attempting to access CoreAudio.default_input_device, along with other CoreAudio methods.\r\n\r\nI'm using coreaudio 0.4 installed via RubyGems on Ruby 1.9.2p290 with OS X 10.7.2 and Xcode 4.1.","html_url":"https://github.com/nagachika/ruby-coreaudio/issues/4","number":4,"title":"NULL pointer given from CoreAudio methods","id":2093112,"created_at":"2011-10-31T00:53:31Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/f5f2035f07c635d24c62cf211d37f3d4?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"f5f2035f07c635d24c62cf211d37f3d4","url":"https://api.github.com/users/mistydemeo","login":"mistydemeo","id":780485},"updated_at":"2011-10-31T16:01:29Z","url":"https://api.github.com/repos/nagachika/ruby-coreaudio/issues/comments/2578851","body":"Hm. No, this happened for me on two computers using only builtin system hardware. The device names don't have any non-ASCII characters.\r\n\r\nI've tested on Ruby 1.9.3p0 now, and had the same behaviour.","id":2578851,"created_at":"2011-10-31T16:01:29Z"}}