Home
last modified time | relevance | path

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

/external/chromium_org/content/browser/speech/
Daudio_buffer.cc17 : data_string_(reinterpret_cast<const char*>(data), length), in AudioChunk()
23 return data_string_.empty(); in IsEmpty()
27 return data_string_.size() / bytes_per_sample_; in NumSamples()
31 return data_string_; in AsString()
35 DCHECK(index < (data_string_.size() / sizeof(int16))); in GetSample16()
40 return reinterpret_cast<const int16*>(data_string_.data()); in SamplesData16()
73 resulting_length += (*it)->data_string_.length(); in DequeueAll()
75 chunk->data_string_.reserve(resulting_length); in DequeueAll()
77 chunk->data_string_.append((*it)->data_string_); in DequeueAll()
Daudio_buffer.h36 std::string data_string_; variable