Mercurial > hg > svcore
comparison data/midi/rtmidi/RtMidi.cpp @ 609:1a30913e26bc
* use dummy driver only for RtMidi on Solaris
author | Chris Cannam |
---|---|
date | Thu, 10 Sep 2009 19:19:21 +0000 |
parents | 3086876472dc |
children | 06f13a3b9e9e |
comparison
equal
deleted
inserted
replaced
608:d7f3dfe6f9a4 | 609:1a30913e26bc |
---|---|
2191 } | 2191 } |
2192 } | 2192 } |
2193 } | 2193 } |
2194 | 2194 |
2195 #endif // __WINDOWS_MM__ | 2195 #endif // __WINDOWS_MM__ |
2196 | |
2197 #ifdef __RTMIDI_DUMMY_ONLY__ | |
2198 | |
2199 void RtMidiIn :: initialize( const std::string& /*clientName*/ ) | |
2200 { | |
2201 } | |
2202 | |
2203 void RtMidiIn :: openPort( unsigned int portNumber, const std::string /*portName*/ ) | |
2204 { | |
2205 } | |
2206 | |
2207 void RtMidiIn :: openVirtualPort( std::string portName ) | |
2208 { | |
2209 } | |
2210 | |
2211 void RtMidiIn :: closePort( void ) | |
2212 { | |
2213 } | |
2214 | |
2215 RtMidiIn :: ~RtMidiIn() | |
2216 { | |
2217 } | |
2218 | |
2219 unsigned int RtMidiIn :: getPortCount() | |
2220 { | |
2221 return 0; | |
2222 } | |
2223 | |
2224 std::string RtMidiIn :: getPortName( unsigned int portNumber ) | |
2225 { | |
2226 return ""; | |
2227 } | |
2228 | |
2229 unsigned int RtMidiOut :: getPortCount() | |
2230 { | |
2231 return 0; | |
2232 } | |
2233 | |
2234 std::string RtMidiOut :: getPortName( unsigned int portNumber ) | |
2235 { | |
2236 return ""; | |
2237 } | |
2238 | |
2239 void RtMidiOut :: initialize( const std::string& /*clientName*/ ) | |
2240 { | |
2241 } | |
2242 | |
2243 void RtMidiOut :: openPort( unsigned int portNumber, const std::string /*portName*/ ) | |
2244 { | |
2245 } | |
2246 | |
2247 void RtMidiOut :: closePort( void ) | |
2248 { | |
2249 } | |
2250 | |
2251 void RtMidiOut :: openVirtualPort( std::string portName ) | |
2252 { | |
2253 } | |
2254 | |
2255 RtMidiOut :: ~RtMidiOut() | |
2256 { | |
2257 } | |
2258 | |
2259 void RtMidiOut :: sendMessage( std::vector<unsigned char> *message ) | |
2260 { | |
2261 } | |
2262 | |
2263 #endif __RTMIDI_DUMMY_ONLY__ | |
2264 |