Home
last modified time | relevance | path

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

/external/webrtc/talk/app/webrtc/
Dmediastream_unittest.cc80 audio_track_ = AudioTrack::Create(kAudioTrackId, NULL); in SetUp()
82 ASSERT_TRUE(audio_track_.get() != NULL); in SetUp()
83 EXPECT_EQ(MediaStreamTrackInterface::kInitializing, audio_track_->state()); in SetUp()
87 EXPECT_TRUE(stream_->AddTrack(audio_track_)); in SetUp()
88 EXPECT_FALSE(stream_->AddTrack(audio_track_)); in SetUp()
106 scoped_refptr<AudioTrackInterface> audio_track_; member in webrtc::MediaStreamTest
148 EXPECT_TRUE(stream_->RemoveTrack(audio_track_)); in TEST_F()
149 EXPECT_FALSE(stream_->RemoveTrack(audio_track_)); in TEST_F()
Drtpsenderreceiver_unittest.cc138 audio_track_ = AudioTrack::Create(kAudioTrackId, NULL); in CreateAudioRtpSender()
139 EXPECT_TRUE(stream_->AddTrack(audio_track_)); in CreateAudioRtpSender()
171 audio_track_ = AudioTrack::Create( in CreateAudioRtpReceiver()
173 EXPECT_TRUE(stream_->AddTrack(audio_track_)); in CreateAudioRtpReceiver()
207 rtc::scoped_refptr<AudioTrackInterface> audio_track_; member in webrtc::RtpSenderReceiverTest
242 audio_track_->set_enabled(false); in TEST_F()
245 audio_track_->set_enabled(true); in TEST_F()
254 audio_track_->set_enabled(false); in TEST_F()
257 audio_track_->set_enabled(true); in TEST_F()
289 audio_track_->GetSource()->SetVolume(volume); in TEST_F()
[all …]
Dstatscollector_unittest.cc562 audio_track_ = new rtc::RefCountedObject<FakeAudioTrack>( in AddOutgoingAudioTrackStats()
564 stream_->AddTrack(audio_track_); in AddOutgoingAudioTrackStats()
574 audio_track_ = new rtc::RefCountedObject<FakeAudioTrack>( in AddIncomingAudioTrackStats()
576 stream_->AddTrack(audio_track_); in AddIncomingAudioTrackStats()
770 rtc::scoped_refptr<FakeAudioTrack> audio_track_; member in webrtc::StatsCollectorTest
1500 stats.AddLocalAudioTrack(audio_track_, kSsrcOfTrack); in TEST_F()
1508 audio_track_.get(), stream_.get(), &stats, &voice_channel, kVcName, in TEST_F()
1543 audio_track_.get(), stream_.get(), &stats, &voice_channel, kVcName, in TEST_F()
1564 stats.AddLocalAudioTrack(audio_track_.get(), kSsrcOfTrack); in TEST_F()
1572 stats.RemoveLocalAudioTrack(audio_track_.get(), kSsrcOfTrack); in TEST_F()
[all …]
/external/webrtc/webrtc/modules/audio_device/android/
Daudio_track_jni.cc35 : audio_track_(std::move(audio_track)), in JavaAudioTrack()
47 audio_track_->CallVoidMethod(init_playout_, sample_rate, channels); in InitPlayout()
51 return audio_track_->CallBooleanMethod(start_playout_); in StartPlayout()
55 return audio_track_->CallBooleanMethod(stop_playout_); in StopPlayout()
59 return audio_track_->CallBooleanMethod(set_stream_volume_, volume); in SetStreamVolume()
63 return audio_track_->CallIntMethod(get_stream_max_volume_); in GetStreamMaxVolume()
67 return audio_track_->CallIntMethod(get_stream_volume_); in GetStreamVolume()
Daudio_track_jni.h56 rtc::scoped_ptr<GlobalRef> audio_track_;