OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:AudioChunk
(Results
1 - 2
of
2
) sorted by null
/external/chromium_org/content/browser/speech/
audio_buffer.cc
12
AudioChunk
::
AudioChunk
(int bytes_per_sample)
16
AudioChunk
::
AudioChunk
(const uint8* data, size_t length, int bytes_per_sample)
22
bool
AudioChunk
::IsEmpty() const {
26
size_t
AudioChunk
::NumSamples() const {
30
const std::string&
AudioChunk
::AsString() const {
34
int16
AudioChunk
::GetSample16(size_t index) const {
39
const int16*
AudioChunk
::SamplesData16() const {
56
chunks_.push_back(new
AudioChunk
(data, length, bytes_per_sample_))
[
all
...]
audio_buffer.h
18
class CONTENT_EXPORT
AudioChunk
:
19
public base::RefCountedThreadSafe<
AudioChunk
> {
21
explicit
AudioChunk
(int bytes_per_sample);
22
AudioChunk
(const uint8* data, size_t length, int bytes_per_sample);
33
~
AudioChunk
() {}
34
friend class base::RefCountedThreadSafe<
AudioChunk
>;
39
DISALLOW_COPY_AND_ASSIGN(
AudioChunk
);
43
// allocations of
AudioChunk
(s) (which uses a string as storage).
55
scoped_refptr<
AudioChunk
> DequeueSingleChunk();
58
scoped_refptr<
AudioChunk
> DequeueAll()
[
all
...]
Completed in 93 milliseconds