aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorroger <roger@FreeBSD.org>2002-01-25 20:12:57 +0800
committerroger <roger@FreeBSD.org>2002-01-25 20:12:57 +0800
commitadc509eb5275d3f613d9e49087f2c22f376dc4ac (patch)
tree5d0d5a16e70f6f57421b9735d021ee5ccf48b39f /net
parentf22d8508e46a1f6834ff91f3e2a780253accd0de (diff)
downloadfreebsd-ports-gnome-adc509eb5275d3f613d9e49087f2c22f376dc4ac.tar.gz
freebsd-ports-gnome-adc509eb5275d3f613d9e49087f2c22f376dc4ac.tar.zst
freebsd-ports-gnome-adc509eb5275d3f613d9e49087f2c22f376dc4ac.zip
Add patch which makes audio work on some endpoints
Diffstat (limited to 'net')
-rw-r--r--net/openam/files/patch-aa25
1 files changed, 25 insertions, 0 deletions
diff --git a/net/openam/files/patch-aa b/net/openam/files/patch-aa
new file mode 100644
index 000000000000..17604d84a428
--- /dev/null
+++ b/net/openam/files/patch-aa
@@ -0,0 +1,25 @@
+*** main.cxx.orig Thu Jan 24 17:49:41 2002
+--- main.cxx Thu Jan 24 17:50:02 2002
+*************** BOOL G7231_OGMChannel::ReadFrame(PINDEX
+*** 1640,1649 ****
+ void G7231_OGMChannel::CreateSilenceFrame(PINDEX /*amount*/)
+ {
+ frameOffs = 0;
+! frameLen = 4;
+
+! frameBuffer[0] = 2;
+! memset(frameBuffer.GetPointer()+1, 0, 3);
+ }
+
+ BOOL G7231_OGMChannel::IsWAVFileValid(PWAVFile *chan) {
+--- 1640,1649 ----
+ void G7231_OGMChannel::CreateSilenceFrame(PINDEX /*amount*/)
+ {
+ frameOffs = 0;
+! frameLen = 24;
+
+! frameBuffer[0] = 0;
+! memset(frameBuffer.GetPointer()+1, 0, 23);
+ }
+
+ BOOL G7231_OGMChannel::IsWAVFileValid(PWAVFile *chan) {