Home
last modified time | relevance | path

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

/external/chromium_org/media/audio/sounds/
Dwav_audio_handler.cc57 WavAudioHandler::WavAudioHandler(const base::StringPiece& wav_data) in WavAudioHandler() argument
61 CHECK_LE(kWavFileHeaderSize, wav_data.size()) << "wav data is too small"; in WavAudioHandler()
62 CHECK(wav_data.starts_with(kChunkId) && in WavAudioHandler()
63 memcmp(wav_data.data() + 8, kFormat, 4) == 0) in WavAudioHandler()
66 uint32 total_length = std::min(ReadInt<uint32>(wav_data, 4), in WavAudioHandler()
67 static_cast<uint32>(wav_data.size())); in WavAudioHandler()
70 const int length = ParseSubChunk(wav_data.substr(offset)); in WavAudioHandler()
Daudio_stream_handler.cc158 AudioStreamHandler::AudioStreamHandler(const base::StringPiece& wav_data) in AudioStreamHandler() argument
159 : wav_audio_(wav_data), in AudioStreamHandler()
Dwav_audio_handler.h21 explicit WavAudioHandler(const base::StringPiece& wav_data);
Daudio_stream_handler.h39 explicit AudioStreamHandler(const base::StringPiece& wav_data);
/external/srec/srec/cfront/
Dspec_anl.c49 void preemph(fftdata *data, int window_len, samdata *wav_data,
143 void preemph(fftdata *data, int window_len, samdata *wav_data, in preemph() argument
155 ASSERT(wav_data); in preemph()
170 data[i] = (fftdata) wav_data[i]; in preemph()
178 temp = SHIFT_UP((bigdata)wav_data[i], COEFDATA_SHIFT); in preemph()
180 *last_sample = (bigdata)pre_mel * wav_data[i]; in preemph()