[MacRuby-devel] [MacRuby] #702: AudioTimeStamp.new crashes MacRuby 0.6
MacRuby
ruby-noreply at macosforge.org
Tue May 11 14:22:38 PDT 2010
#702: AudioTimeStamp.new crashes MacRuby 0.6
-----------------------------------+----------------------------------------
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:
The problem was that the SMPTETime structure is too large to fit in a
register (so a pointer was returned by the compiler). It should be fixed
in r4068.
{{{
$ cat t.rb
framework "CoreAudio"
p AudioTimeStamp.new
$ ./miniruby t.rb
#<AudioTimeStamp mSampleTime=0.0 mHostTime=0 mRateScalar=0.0
mWordClockTime=0 mSMPTETime=#<SMPTETime mSubframes=0 mSubframeDivisor=0
mCounter=0 mType=0 mFlags=0 mHours=0 mMinutes=0 mSeconds=0 mFrames=0>
mFlags=0 mReserved=0>
}}}
--
Ticket URL: <http://www.macruby.org/trac/ticket/702#comment:4>
MacRuby <http://macruby.org/>
More information about the MacRuby-devel
mailing list