• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Where did my event, part II
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Where did my event, part IV
  • Next by Date: Where did my event, part I
  • Previous by thread: Where did my event, part IV
  • Next by thread: Where did my event, part I
  • Index(es):
    • Date
    • Thread