Where did my event, part II
Where did my event, part II
- Subject: Where did my event, part II
- From: Craig Hopson <email@hidden>
- Date: Mon, 12 Sep 2005 10:04:57 -0600
I tried to send this on Friday, but alas, it was over the size limit. So, I am posting in installments; this is the second of four. Please refer to prior installments for context.
- (BOOL)readFromData:(NSData *)data ofType:(NSString *)typeName error:(NSError **)outError { OSStatus result = NewMusicSequence( &_curSequence ); if( result != noErr ) [ NSException raise:@"TTMDocument::readFromData" format:@"Cannot create music sequence." ];
result = MusicSequenceLoadSMFData( _curSequence, (CFDataRef)data ); if( result != noErr ) [ NSException raise:@"TTMDocument::readFromData" format:@"Cannot read SMF data." ];
CAShow( _curSequence ); // for debugging
return YES; }
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden