professional audio NDK  1.1.3
include/apa/IJackClientInterface.h
00001 /*
00002  * Samsung Handset Platform
00003  * Copyright (c) 2007 Software Center, Samsung Electronics, Inc.
00004  * All rights reserved.
00005  * This software is the confidential and proprietary information
00006  * of Samsung Electronics, Inc. ("Confidential Information").  You
00007  * shall not disclose such Confidential Information and shall use
00008  * it only in accordance with the terms of the license agreement
00009  * you entered into with Samsung Electronics.
00010  */
00011 
00012 /*
00013  * @author <a href="mailto:haeseok@samsung.com">HaeSeok Oh</a>
00014  * @author <a href="mailto:lh.bang@samsung.com">LaeHyuk Bang</a>
00015  * @author <a href="mailto:jeongyeon.kim@samsung.com">JeongYeon Kim</a>
00016  * @author <a href="mailto:dbs.park@samsung.com">DaeBeom Park</a>
00017  *
00018  */
00019 
00020 #ifndef ANDROID_JACK_CLIENT_INTERFACE_H
00021 #define ANDROID_JACK_CLIENT_INTERFACE_H
00022 
00023 #include <APACommon.h>
00024 namespace android {
00025 
00031 class IJackClientInterface {
00032     public:
00033 
00037         IJackClientInterface(){};
00038 
00042         virtual ~IJackClientInterface(){};
00043 
00054         virtual int setUp(int argc, char *argv[]) = 0;
00055 
00063         virtual int tearDown() = 0;
00064 
00071         virtual int activate() = 0;
00072 
00079         virtual int deactivate() = 0;
00080 
00088         virtual int transport(TransportType type) = 0;
00089 
00099         virtual int sendMidi(char* midi) = 0;
00100 };
00101 
00102 };
00103 
00104 #endif // ANDROID_JACK_CLIENT_INTERFACE_H
00105