OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:VirtualAudioInputStream
(Results
1 - 9
of
9
) sorted by null
/external/chromium_org/media/audio/
virtual_audio_input_stream.cc
50
VirtualAudioInputStream
::
VirtualAudioInputStream
(
70
VirtualAudioInputStream
::~
VirtualAudioInputStream
() {
74
// output streams be removed before
VirtualAudioInputStream
is destroyed.
83
bool
VirtualAudioInputStream
::Open() {
89
void
VirtualAudioInputStream
::Start(AudioInputCallback* callback) {
93
&
VirtualAudioInputStream
::PumpAudio, base::Unretained(this)));
96
void
VirtualAudioInputStream
::Stop() {
102
void
VirtualAudioInputStream
::AddOutputStream
[
all
...]
virtual_audio_input_stream.h
29
//
VirtualAudioInputStream
converts and mixes audio from attached
31
// audio until this
VirtualAudioInputStream
is stopped and closed.
32
class MEDIA_EXPORT
VirtualAudioInputStream
: public AudioInputStream {
34
// Callback invoked just after
VirtualAudioInputStream
is closed.
35
typedef base::Callback<void(
VirtualAudioInputStream
* vais)>
42
VirtualAudioInputStream
(
47
virtual ~
VirtualAudioInputStream
();
61
//
VirtualAudioInputStream
must outlive all attached streams, so any attached
63
//
VirtualAudioInputStream
is destroyed.
111
DISALLOW_COPY_AND_ASSIGN(
VirtualAudioInputStream
);
[
all
...]
virtual_audio_output_stream.h
16
class
VirtualAudioInputStream
;
18
// VirtualAudioOutputStream attaches to a
VirtualAudioInputStream
when Start()
22
//
VirtualAudioInputStream
expects.
34
VirtualAudioInputStream
* target,
53
// Pointer to the
VirtualAudioInputStream
to attach to when Start() is called.
54
// This pointer should always be valid because
VirtualAudioInputStream
should
56
VirtualAudioInputStream
* const target_input_stream_;
virtual_audio_output_stream_unittest.cc
25
class MockVirtualAudioInputStream : public
VirtualAudioInputStream
{
29
:
VirtualAudioInputStream
(
32
base::Bind(&base::DeletePointer<
VirtualAudioInputStream
>)) {}
virtual_audio_output_stream.cc
13
const AudioParameters& params,
VirtualAudioInputStream
* target,
virtual_audio_input_stream_unittest.cc
110
stream_ = new
VirtualAudioInputStream
(
112
base::Bind(&base::DeletePointer<
VirtualAudioInputStream
>));
231
VirtualAudioInputStream
* stream_;
/external/chromium_org/content/browser/media/capture/
web_contents_audio_input_stream.h
31
class
VirtualAudioInputStream
;
81
media::
VirtualAudioInputStream
* mixer_stream);
web_contents_audio_input_stream_unittest.cc
35
using media::
VirtualAudioInputStream
;
87
// A fully-functional
VirtualAudioInputStream
, but methods are mocked to allow
89
class MockVirtualAudioInputStream : public
VirtualAudioInputStream
{
93
:
VirtualAudioInputStream
(TestAudioParameters(), worker_loop,
94
VirtualAudioInputStream
::AfterCloseCallback()),
102
.WillByDefault(Invoke(&real_, &
VirtualAudioInputStream
::Open));
104
.WillByDefault(Invoke(&real_, &
VirtualAudioInputStream
::Start));
106
.WillByDefault(Invoke(&real_, &
VirtualAudioInputStream
::Stop));
108
.WillByDefault(Invoke(&real_, &
VirtualAudioInputStream
::Close));
110
.WillByDefault(Invoke(&real_, &
VirtualAudioInputStream
::GetMaxVolume))
[
all
...]
web_contents_audio_input_stream.cc
31
media::
VirtualAudioInputStream
* mixer_stream);
33
// Open underlying
VirtualAudioInputStream
and start tracker.
36
// Start the underlying
VirtualAudioInputStream
and instruct
40
// Stop the underlying
VirtualAudioInputStream
and instruct
44
// Close the underlying
VirtualAudioInputStream
and stop the tracker.
47
// Accessor to underlying
VirtualAudioInputStream
.
48
media::
VirtualAudioInputStream
* mixer_stream() const {
91
const scoped_ptr<media::
VirtualAudioInputStream
> mixer_stream_;
111
media::
VirtualAudioInputStream
* mixer_stream)
238
// guarantee the
VirtualAudioInputStream
(mixer_stream_) outlives th
[
all
...]
Completed in 962 milliseconds