>Ev d dl Z e j ed ddgZd dlmZ edd Zd ej _ d ej _ dej _ dej _ d ej _ d Z d Zg Zd Ze e d Ze e d Ze e d Ze e d Ze e d Ze e d Ze e d Ze e d Zd Zd Zd Zd Zd Zedk r e dS dS ) N) )removewhatwhathdr) namedtuple SndHeadersz.filetype framerate nchannels nframes sampwidthzThe value for type indicates the data type and will be one of the strings 'aifc', 'aiff', 'au','hcom', 'sndr', 'sndt', 'voc', 'wav', '8svx', 'sb', 'ub', or 'ul'.zYThe sampling_rate will be either the actual value or 0 if unknown or difficult to decode.z^The number of channels or 0 if it cannot be determined or if the value is difficult to decode.z?The value for frames will be either the number of frames or -1.zAEither the sample size in bits or 'A' for A-LAW or 'U' for u-LAW.c &