rem: printf("MediaAddonServer::AddOnAdded: loading finished, id %d\n",(int)id);
add: TRACE("MediaAddonServer::AddOnAdded: loading finished, id %d\n",(int)id);
context: MediaAddonServer::AddOnAdded(const char *path, ino_t file_node){	printf("\n\nMediaAddonServer::AddOnAdded: path %s\n",path);	BMediaAddOn *addon;	media_addon_id id;	id = _DormantNodeManager->RegisterAddon(path);	if (id <= 0) {		printf("MediaAddonServer::AddOnAdded: failed to register add-on\n");		return;	}		addon = _DormantNodeManager->GetAddon(id);	if (addon == NULL) {		printf("MediaAddonServer::AddOnAdded: failed to get add-on\n");		_DormantNodeManager->UnregisterAddon(id);		return;	}	printf("MediaAddonServer::AddOnAdded: loading finished, id %d\n",(int)id);	filemap->Insert(file_node, id);	flavorcountmap->Insert(id, 0);	ScanAddOnFlavors(addon);		if (addon->WantsAutoStart())		printf("#### WantsAutoStart!\n");/* * the mixer (which we can't load because of unresolved symbols) * is the only node that uses autostart (which is not implemented yet) *//*loading BMediaAddOn from /boot/beos/system/add-ons/media/mixer.media_addonadding media add-on -11 flavors:flavor 0:  internal_id = 0  name = Be Audio Mixer  info = The system-wide sound mixer of the future.  flavor_flags = 0x0  kinds = 0x40003 B_BUFFER_PRODUCER B_BUFFER_CONSUMER B_SYSTEM_MIXER  in_format_count = 1  out_format_count = 1#### WantsAutoStart!*//*	if (addon->WantsAutoStart()) {		for (int32 index = 0; ;index++) {			BMediaNode *outNode;			int32 outInternalID;			bool outHasMore;			rv = addon->AutoStart(index, &outNode, &outInternalID, &outHasMore);			if (rv == B_OK) {				printf("started node %ld\n",index);				rv = mediaroster->RegisterNode(outNode);				if (rv != B_OK)					printf("failed to register node %ld\n",index);				if (!outHasMore)//					break;					return;			} else if (rv == B_MEDIA_ADDON_FAILED && outHasMore) {				continue;			} else {				break;			}		}		return;	}*/	_DormantNodeManager->PutAddon(id);}