Permalink
Browse files

Taking Seek modes from ctypes SEEK_MODES

  • Loading branch information...
1 parent 327c5bb commit 7cf655d7d349d781e2ce72e66e1bbd1b35813f96 @vokimon committed Jul 2, 2014
Showing with 3 additions and 3 deletions.
  1. +3 −3 wavefile/wavefile.py
View
@@ -118,9 +118,9 @@ class Format :
ENDMASK = 0x30000000
class Seek() :
- SET = 0 # Relative to the begining of the file
- CUR = 1 # Relative to the last read frame
- END = 2 # Relative to the end of the file
+ SET = SEEK_MODES.SEEK_SET # Relative to the begining of the file
+ CUR = SEEK_MODES.SEEK_CUR # Relative to the last read frame
+ END = SEEK_MODES.SEEK_END # Relative to the end of the file
class WaveMetadata(object) :

0 comments on commit 7cf655d

Please sign in to comment.