[MacRuby-devel] [MacRuby] #703: Call AudioDeviceCreateIOProcID() cause assertion failed

MacRuby ruby-noreply at macosforge.org
Mon May 10 22:03:39 PDT 2010


#703: Call AudioDeviceCreateIOProcID() cause assertion failed
-----------------------------------+----------------------------------------
 Reporter:  nagachika00@…          |        Owner:  lsansonetti@…        
     Type:  defect                 |       Status:  closed               
 Priority:  major                  |    Milestone:  MacRuby 0.7          
Component:  MacRuby                |   Resolution:  fixed                
 Keywords:                         |  
-----------------------------------+----------------------------------------
Changes (by lsansonetti@…):

  * status:  new => closed
  * resolution:  => fixed
  * milestone:  => MacRuby 0.7


Comment:

 Should be fixed in r4067. Note that I had to change a little bit your
 example (the Pointer.new type).

 {{{
 $ cat t.rb
 framework "CoreAudio"

 ptr = Pointer.new("^?")
 callback = Proc.new{|*args| }
 p AudioDeviceCreateIOProcID(0, callback, nil, ptr)
 $ ./miniruby  t.rb
 560227702
 }}}

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/703#comment:2>
MacRuby <http://macruby.org/>



More information about the MacRuby-devel mailing list