#702: AudioTimeStamp.new crashes MacRuby 0.6
-----------------------------------+----------------------------------------
Reporter: nagachik...@… | Owner: lsansone...@…
Type: defect | Status: closed
Priority: major | Milestone: MacRuby 0.7
Component: MacRuby | Resolution: fixed
Keywords: |
-----------------------------------+----------------------------------------
Changes (by lsansone...@…):
* 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/>
_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel