@dawcore/transport 0.0.7 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -4
- package/dist/index.d.mts +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +9 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -6
package/dist/index.mjs
CHANGED
|
@@ -1219,6 +1219,9 @@ var _Transport = class _Transport {
|
|
|
1219
1219
|
get audioContext() {
|
|
1220
1220
|
return this._audioContext;
|
|
1221
1221
|
}
|
|
1222
|
+
get ppqn() {
|
|
1223
|
+
return this._ppqn;
|
|
1224
|
+
}
|
|
1222
1225
|
// --- Playback ---
|
|
1223
1226
|
play(startTime, endTime) {
|
|
1224
1227
|
if (this._playing) return;
|
|
@@ -1767,6 +1770,12 @@ var NativePlayoutAdapter = class {
|
|
|
1767
1770
|
this._audioContext = audioContext;
|
|
1768
1771
|
this._transport = new Transport(audioContext, options);
|
|
1769
1772
|
}
|
|
1773
|
+
get audioContext() {
|
|
1774
|
+
return this._audioContext;
|
|
1775
|
+
}
|
|
1776
|
+
get ppqn() {
|
|
1777
|
+
return this._transport.ppqn;
|
|
1778
|
+
}
|
|
1770
1779
|
get transport() {
|
|
1771
1780
|
return this._transport;
|
|
1772
1781
|
}
|