sndhdr.whathdr(filename)
Determines the type of sound data stored in a file based on the file header. The name of the file is given by filename. This function returns a namedtuple as described above on success, or None
.
Changed in version 3.5: Result changed from a tuple to a namedtuple.
Please login to continue.