Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(364)

Unified Diff: remoting/client/audio_player.cc

Issue 2084123002: Adding an interface to allow extension of the audio player for CRD and iOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removing unused counter in fake audio consumer. Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/client/audio_player.h ('k') | remoting/client/audio_player_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/audio_player.cc
diff --git a/remoting/client/audio_player.cc b/remoting/client/audio_player.cc
index 7bfa500899ed5749427fbc9cc2967058c553948d..df4590f3f3d77faee76e417441a1835e4d8cee39 100644
--- a/remoting/client/audio_player.cc
+++ b/remoting/client/audio_player.cc
@@ -22,8 +22,7 @@ AudioPlayer::AudioPlayer()
bytes_consumed_(0) {
}
-AudioPlayer::~AudioPlayer() {
-}
+AudioPlayer::~AudioPlayer() {}
void AudioPlayer::AddAudioPacket(std::unique_ptr<AudioPacket> packet) {
CHECK_EQ(1, packet->data_size());
@@ -71,10 +70,6 @@ void AudioPlayer::AddAudioPacket(std::unique_ptr<AudioPacket> packet) {
}
}
-void AudioPlayer::ProcessAudioPacket(std::unique_ptr<AudioPacket> packet) {
- AddAudioPacket(std::move(packet));
-}
-
// static
void AudioPlayer::AudioPlayerCallback(void* samples,
uint32_t buffer_size,
« no previous file with comments | « remoting/client/audio_player.h ('k') | remoting/client/audio_player_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698