summaryrefslogtreecommitdiff
path: root/net/asterisk-oh323/files/patch-wrapper::asteriskaudio.cxx
blob: 06676b63b1f09646cffa9d037578fe6ed0ecbe71 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- wrapper/asteriskaudio.cxx.orig	Wed Jan 18 11:01:05 2006
+++ wrapper/asteriskaudio.cxx	Wed Jan 18 11:01:34 2006
@@ -164,7 +164,7 @@ PAsteriskSoundChannel::~PAsteriskSoundCh
 	WRAPTRACE(3, "Total I/Os: read=" << readCount << ", write=" << writeCount);
 	WRAPTRACE(3, "Short I/Os: write=" << shortWriteCount);
 	WRAPTRACE(4, "Object deleted.");
-	baseChannel = NULL;
+//	baseChannel = NULL;
 }
 
 PStringArray PAsteriskSoundChannel::GetDeviceNames(Directions dir)
@@ -231,7 +231,7 @@ BOOL PAsteriskSoundChannel::Open(const P
 	**********/
 	if (deviceFd < 0)
 		return FALSE;
-	baseChannel = this;  // XXX Use the old interface of the PSoundChannel
+//	baseChannel = this;  // XXX Use the old interface of the PSoundChannel
 	os_handle = deviceFd;
 	mediaFormat = mediaFmt;
 	frameTime = frameTm;