/*
This software is distributed under the terms of Pete's Public License version 1.0, a
copy of which is included with this software in the file "License.html". A copy can
also be obtained from http://pete.yandell.com/software/license/ppl-1_0.html
If you did not receive a copy of the license with this software, please notify the
author by sending e-mail to pete@yandell.com
The current version of this software can be found at http://pete.yandell.com/software
Copyright (c) 2002-2004 Peter Yandell. All Rights Reserved.
$Id: PYMIDIEndpoint.h,v 1.10 2004/01/12 04:24:30 pete Exp $
*/
#import <Foundation/Foundation.h>
#import <CoreMIDI/CoreMIDI.h>
#import <AudioToolbox/AudioToolbox.h>
@class PYMIDIEndpointDescriptor;
@interface PYMIDIEndpoint : NSObject <NSCoding> {
MIDIEndpointRef midiEndpointRef;
NSString* name;
SInt32 uniqueID;
NSString* displayName;
NSMutableSet* receivers;
NSMutableSet* senders;
// NSMutableSet* midiControllers;
}
#pragma mark INITIALISATION
- (id)init;
- (id)initWithName:(NSString*)newName uniqueID:(SInt32)newUniqueID;
- (id)initWithMIDIEndpointRef:(MIDIEndpointRef)newMIDIEndpointRef;
- (void)dealloc;
#pragma mark ARCHIVING
- (id)initWithCoder:(NSCoder*)coder;
- (void)encodeWithCoder:(NSCoder*)coder;
- (PYMIDIEndpointDescriptor*)descriptor;
#pragma mark PROPERTIES
/* Resets the name and uniqueID from the MIDIEndpointRef */
- (void)setPropertiesFromMIDIEndpoint;
- (NSString*)name;
- (BOOL)setName:(NSString*)newName;
- (NSString*)displayName;
- (NSComparisonResult)compareByDisplayName:(PYMIDIEndpoint*)endpoint;
- (SInt32)uniqueID;
- (BOOL)setUniqueID:(SInt32)newUniqueID;
- (MIDIEndpointRef)midiEndpointRef;
- (BOOL)isIACBus;
- (BOOL)isOnline;
- (BOOL)isOffline;
- (BOOL)isInUse;
- (BOOL)isOnlineOrInUse;
#pragma mark SENDING & RECEIVING
- (void)addReceiver:(id)receiver;
- (void)removeReceiver:(id)receiver;
- (void)addSender:(id)sender;
- (void)removeSender:(id)sender;
// - (void)connectToMIDIController:(AUMIDIControllerRef)controller;
// - (void)disconnectFromMIDIController:(AUMIDIControllerRef)controller;
- (void)processMIDIPacketList:(const MIDIPacketList*)packetList sender:(id)sender;
#pragma mark IO
/* Override these to do the hard work */
- (BOOL)ioIsRunning;
- (void)startIO;
- (void)stopIO;
@end
没有合适的资源?快使用搜索试试~ 我知道了~
iOS游戏应用源代码——mmower-pianist-08709fa.zip
共32个文件
h:17个
m:5个
strings:2个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 181 浏览量
2023-07-05
23:21:52
上传
评论
收藏 90KB ZIP 举报
温馨提示
iOS游戏应用源代码——mmower-pianist-08709fa.zip
资源推荐
资源详情
资源评论
收起资源包目录
iOS游戏应用源代码——mmower-pianist-08709fa.zip (32个子文件)
mmower-pianist-08709fa
MIDIController.h 412B
English.lproj
MainMenu.xib 53KB
InfoPlist.strings 92B
Pianist_Prefix.pch 145B
frameworks
PYMIDI.framework
Versions
A
PYMIDI 117KB
Headers
PYMIDIEndpoint.h 2KB
PYMIDIVirtualSource.h 908B
PYMIDI.h 971B
PYMIDIVirtualDestination.h 921B
PYMIDIRealSource.h 961B
PYMIDIRealEndpoint.h 1KB
PYMIDIEndpointDescriptor.h 1KB
PYMIDIUtils.h 1KB
PYMIDIVirtualEndpoint.h 973B
PYMIDIEndpointSet.h 1KB
PYMIDIRealDestination.h 971B
PYMIDIManager.h 2KB
Resources
English.lproj
InfoPlist.strings 92B
Info.plist 652B
main.m 254B
MIDIController.m 3KB
StaveController.m 211B
StaveView.h 664B
AppController.h 962B
StaveView.m 6KB
Preferences.h 231B
.gitignore 36B
Pianist.xcodeproj
project.pbxproj 14KB
TemplateIcon.icns 51KB
Info.plist 855B
AppController.m 3KB
StaveController.h 229B
共 32 条
- 1
资源评论
快乐无限出发
- 粉丝: 1165
- 资源: 7303
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功