From 1cb14cd52bdd7b795f081043fb4444e0a196f82b Mon Sep 17 00:00:00 2001
From: Aimee Linden <aimee@lindenlab.com>
Date: Sun, 23 May 2010 14:26:24 +0100
Subject: [PATCH] EXT-7337 WIP Removed now redundant isPreviewReady() method.

---
 indra/newview/llvoiceclient.h  | 1 -
 indra/newview/llvoicevivox.cpp | 6 ------
 indra/newview/llvoicevivox.h   | 1 -
 3 files changed, 8 deletions(-)

diff --git a/indra/newview/llvoiceclient.h b/indra/newview/llvoiceclient.h
index 02c0ece427..7f8f979da0 100644
--- a/indra/newview/llvoiceclient.h
+++ b/indra/newview/llvoiceclient.h
@@ -312,7 +312,6 @@ public:
 	virtual void stopPreviewBuffer() = 0;
 
 	virtual bool isPreviewRecording() = 0;
-	virtual bool isPreviewReady() = 0;
 	virtual bool isPreviewPlaying() = 0;
 	//@}
 };
diff --git a/indra/newview/llvoicevivox.cpp b/indra/newview/llvoicevivox.cpp
index ba68795870..e00b94b421 100644
--- a/indra/newview/llvoicevivox.cpp
+++ b/indra/newview/llvoicevivox.cpp
@@ -6789,12 +6789,6 @@ bool LLVivoxVoiceClient::isPreviewRecording()
 	return (mCaptureBufferMode && mCaptureBufferRecording);
 }
 
-bool LLVivoxVoiceClient::isPreviewReady()
-{
-	return (mCaptureBufferMode && mCaptureBufferRecorded);
-
-}
-
 bool LLVivoxVoiceClient::isPreviewPlaying()
 {
 	return (mCaptureBufferMode && mCaptureBufferPlaying);
diff --git a/indra/newview/llvoicevivox.h b/indra/newview/llvoicevivox.h
index 6a13bcddb3..f67798c207 100644
--- a/indra/newview/llvoicevivox.h
+++ b/indra/newview/llvoicevivox.h
@@ -263,7 +263,6 @@ public:
 	virtual void stopPreviewBuffer();
 
 	virtual bool isPreviewRecording();
-	virtual bool isPreviewReady();
 	virtual bool isPreviewPlaying();
 	//@}
 
-- 
GitLab