Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions doc/fake__jack.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ class Fake(object):
PropertyChanged = 1
PropertyDeleted = 2

JackPositionBBT = 0x10
JackPositionTimecode = 0x20
JackBBTFrameOffset = 0x40
JackAudioVideoRatio = 0x80
JackVideoFrameOffset = 0x100

def dlopen(self, _):
return self

Expand Down
11 changes: 11 additions & 0 deletions src/jack.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,17 @@
PROPERTY_DELETED = _lib.PropertyDeleted
"""A property was deleted. See `Client.set_property_change_callback()`."""

POSITION_BBT = _lib.JackPositionBBT
"""Bar, Beat, Tick."""
POSITION_TIMECODE = _lib.JackPositionTimecode
"""External timecode."""
POSITION_BBT_FRAME_OFFSET = _lib.JackBBTFrameOffset
"""Frame offset of BBT information."""
POSITION_AUDIO_VIDEO_RATIO = _lib.JackAudioVideoRatio
"""Audio frames per video frame."""
POSITION_VIDEO_FRAME_OFFSET = _lib.JackVideoFrameOffset
"""Frame offset of first video frame."""

_SUCCESS = 0
_FAILURE = 1

Expand Down