Skip to content

Commit

Permalink
Update wave_dbmd_reader.py
Browse files Browse the repository at this point in the history
Whitespace for flake8
  • Loading branch information
iluvcapra authored Nov 9, 2023
1 parent 2e5cd43 commit c5841a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wavinfo/wave_dbmd_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -356,15 +356,15 @@ def surround_config(b):
)

def dialnorm_info(b):
return (b & 0x80) > 0, b & 0x40 > 0, b & 0x20 > 0,\
return (b & 0x80) > 0, b & 0x40 > 0, b & 0x20 > 0, \
DolbyDigitalPlusMetadata.DialnormLevel(b & 0x1f)

def langcod(b) -> int:
return b

def audio_prod_info(b):
return (b & 0x80) > 0, \
DolbyDigitalPlusMetadata.MixLevel(b & 0x7c >> 2),\
DolbyDigitalPlusMetadata.MixLevel(b & 0x7c >> 2), \
DolbyDigitalPlusMetadata.RoomType(b & 0x3)

# loro_center_downmix_level, loro_surround_downmix_level
Expand Down

0 comments on commit c5841a5

Please sign in to comment.