Home
last modified time | relevance | path

Searched refs:wave_file (Results 1 – 1 of 1) sorted by relevance

/external/autotest/server/brillo/
Daudio_utils.py38 def extract_wav_frames(wave_file): argument
46 num_frames = wave_file.getnframes()
47 sample_width = wave_file.getsampwidth()
56 frames = list(struct.unpack(fmt % num_frames * wave_file.getnchannels(),
57 wave_file.readframes(num_frames)))