Home
last modified time | relevance | path

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

/external/chromium_org/content/renderer/media/
Daudio_decoder.cc72 size_t actual_frames = reader.Read(audio_bus.get()); in DecodeAudioFileData() local
76 if (actual_frames != number_of_frames) { in DecodeAudioFileData()
77 DCHECK_LE(actual_frames, number_of_frames); in DecodeAudioFileData()
78 destination_bus->resizeSmaller(actual_frames); in DecodeAudioFileData()
81 double duration = actual_frames / file_sample_rate; in DecodeAudioFileData()
87 << " number of frames: " << actual_frames in DecodeAudioFileData()
91 return actual_frames > 0; in DecodeAudioFileData()
/external/chromium_org/media/filters/
Daudio_file_reader_unittest.cc34 int actual_frames = reader_->Read(decoded_audio_data.get()); in ReadAndVerify() local
35 ASSERT_LE(actual_frames, decoded_audio_data->frames()); in ReadAndVerify()
36 ASSERT_EQ(expected_frames, actual_frames); in ReadAndVerify()
39 audio_hash.Update(decoded_audio_data.get(), actual_frames); in ReadAndVerify()
/external/chromium_org/net/websockets/
Dwebsocket_channel_test.cc367 virtual bool MatchAndExplain(ScopedVector<WebSocketFrame>* actual_frames, in MatchAndExplain() argument
369 if (actual_frames->size() != N) { in MatchAndExplain()
370 *listener << "the vector size is " << actual_frames->size(); in MatchAndExplain()
374 const WebSocketFrame& actual_frame = *(*actual_frames)[i]; in MatchAndExplain()