Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
QuinnDamerell committed Dec 29, 2024
1 parent be1a83f commit 08649ac
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions homeway/homeway/Proto/SageDataContext.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def Channels(self):
return 0

# SageDataContext
def BitsPerSample(self):
def BytesPerSample(self):
o = octoflatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(10))
if o != 0:
return self._tab.Get(octoflatbuffers.number_types.Int8Flags, o + self._tab.Pos)
Expand Down Expand Up @@ -74,11 +74,11 @@ def SageDataContextAddChannels(builder: octoflatbuffers.Builder, channels: int):
def AddChannels(builder: octoflatbuffers.Builder, channels: int):
SageDataContextAddChannels(builder, channels)

def SageDataContextAddBitsPerSample(builder: octoflatbuffers.Builder, bitsPerSample: int):
builder.PrependInt8Slot(3, bitsPerSample, 0)
def SageDataContextAddBytesPerSample(builder: octoflatbuffers.Builder, bytesPerSample: int):
builder.PrependInt8Slot(3, bytesPerSample, 0)

def AddBitsPerSample(builder: octoflatbuffers.Builder, bitsPerSample: int):
SageDataContextAddBitsPerSample(builder, bitsPerSample)
def AddBytesPerSample(builder: octoflatbuffers.Builder, bytesPerSample: int):
SageDataContextAddBytesPerSample(builder, bytesPerSample)

def SageDataContextEnd(builder: octoflatbuffers.Builder) -> int:
return builder.EndObject()
Expand Down

0 comments on commit 08649ac

Please sign in to comment.