forked from jdachtera/node-rtpmidi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
22 lines (20 loc) · 853 Bytes
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
"use strict";
// Backported Buffer functions for node 0.4.x
var versionParts = process.versions.node.split('.');
if (versionParts[0] === '0' && versionParts[1] === '4') {
console.log("Using node.JS 0.4 compatiblity mode.");
require('./src/node_0_4_compatibility');
}
module.exports = {
manager: require('./src/manager'),
webapi: require('./src/webapi'),
Session: require('./src/Session'),
Stream: require('./src/Stream'),
AbstractMessage: require('./src/AbstractMessage'),
ControlMessage: require('./src/ControlMessage'),
RTPMessage: require('./src/RTPMessage'),
MTC: require('./src/MTC'),
MdnsService: require('./src/mdns'),
log: require('./src/log'),
hrtimer: require('./src/hrtimer')
};