I am seeing this message in the log/console:

ArtSaverApp[8638:9659238] [plugin] AddInstanceForFactory: No factory registered 
for id <CFUUID 0x6000002bd780> F8BB1C28-BAE8-11D6-9C31-00039315CD46

I think it is caused by my app playing a system sound.

The code I use to do so is:

const NSString * trash_sound_file = 
@"/System/Library/Components/CoreAudio.component/Contents/SharedSupport/SystemSounds/dock/drag
 to trash.aif";

    NSSound * systemSound = [[NSSound alloc] initWithContentsOfFile: 
(NSString*)trash_sound_file byReference: YES];
    if ( systemSound )
        [systemSound play];


In another place, I use this code, and it, too, creates the funny log message:

        NSSound * failed_sound = [NSSound soundNamed: @"Funk"];
        if ( failed_sound )
            [failed_sound play];


The funny log message does not make the app crash, nor does it seem to have any 
negative effect.

So I am wondering: should I worry about it?
Is it an error message?
If so, how could I prevent it?

(I have already experimented with AudioServicesCreateSystemSoundID(), but 
failed.)

Thanks a lot in advance for any and all insights.
Best regards, Gabriel

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to