original_docstring: Specific frame reader for aiff files.
  
          AIFF data is in big endian and we need little endian.
  
          :param nframes: (int) the the number of frames wanted
          :returns: (str) frames
  
          
docstring: Specific frame reader for aiff files.
  AIFF data is in big endian and we need little endian.
docstring_tokens: Specific frame reader for aiff files . AIFF data is in big endian and we need little endian .
code: def read_frames(self, nframes):
          """Specific frame reader for aiff files.
  
          AIFF data is in big endian and we need little endian.
  
          :param nframes: (int) the the number of frames wanted
          :returns: (str) frames
  
          """
          if not self._audio_fp:
              raise AudioDataError
  
          data = self._audio_fp.readframes(nframes)
  
          if self.get_sampwidth() == 4:
              data = struct.unpack(">%ul" % (len(data) / 4), data)
              return struct.pack("<%ul" % (len(data)), *data)
  
          elif self.get_sampwidth() == 2:
              data = struct.unpack(">%uh" % (len(data)/2), data)
              return struct.pack("<%uh" % (len(data)), *data)
  
          return data
code_tokens: def read_frames ( self , nframes ) : if not self . _audio_fp : raise AudioDataError data = self . _audio_fp . readframes ( nframes ) if self . get_sampwidth ( ) == 4 : data = struct . unpack ( ">%ul" % ( len ( data ) / 4 ) , data ) return struct . pack ( "<%ul" % ( len ( data ) ) , * data ) elif self . get_sampwidth ( ) == 2 : data = struct . unpack ( ">%uh" % ( len ( data ) / 2 ) , data ) return struct . pack ( "<%uh" % ( len ( data ) ) , * data ) return data
short_docstring: Specific frame reader for aiff files.
short_docstring_tokens: Specific frame reader for aiff files .
comment: """Specific frame reader for aiff files.
  
          AIFF data is in big endian and we need little endian.
  
          :param nframes: (int) the the number of frames wanted
          :returns: (str) frames
  
          """