original_docstring: Specific writer for aiff files.
  
          Data is in little endian and aiff files need big endian.
  
          :param fp: (sppasAudioPCM) the audio file pointer to write in
          :param data: (str) frames to write
  
          
docstring: Specific writer for aiff files.
  Data is in little endian and aiff files need big endian.
docstring_tokens: Specific writer for aiff files . Data is in little endian and aiff files need big endian .
code: def _write_frames(fp, data):
          """Specific writer for aiff files.
  
          Data is in little endian and aiff files need big endian.
  
          :param fp: (sppasAudioPCM) the audio file pointer to write in
          :param data: (str) frames to write
  
          """
          if fp.getsampwidth() == 4:
              data = struct.unpack("<%ul" % (len(data)/4), data)
              fp.writeframes(struct.pack(">%ul" % (len(data)), *data))
  
          elif fp.getsampwidth() == 2:
              data = struct.unpack("<%uh" % (len(data)/2), data)
              fp.writeframes(struct.pack(">%uh" % (len(data)), *data))
  
          else:
              fp.writeframes(data)
code_tokens: def _write_frames ( fp , data ) : if fp . getsampwidth ( ) == 4 : data = struct . unpack ( "<%ul" % ( len ( data ) / 4 ) , data ) fp . writeframes ( struct . pack ( ">%ul" % ( len ( data ) ) , * data ) ) elif fp . getsampwidth ( ) == 2 : data = struct . unpack ( "<%uh" % ( len ( data ) / 2 ) , data ) fp . writeframes ( struct . pack ( ">%uh" % ( len ( data ) ) , * data ) ) else : fp . writeframes ( data )
short_docstring: Specific writer for aiff files.
short_docstring_tokens: Specific writer for aiff files .
comment: """Specific writer for aiff files.
  
          Data is in little endian and aiff files need big endian.
  
          :param fp: (sppasAudioPCM) the audio file pointer to write in
          :param data: (str) frames to write
  
          """