[nas] 2 possible patches for the 1.9.1 version

Frank Büttner frank-buettner at gmx.net
Fri Nov 2 09:57:43 MDT 2007


Hello,
at the Fedora bug system there will be to patches for nas.
Please check if it can/must but added to the new 1.9.1 version:
Here the links:
https://bugzilla.redhat.com/show_bug.cgi?id=247468
Patch:
diff -up
nas-1.9/server/dda/voxware/auvoxware.c.leave-the-mixer-alone-it's-not-your-job
nas-1.9/server/dda/voxware/auvoxware.c
---
nas-1.9/server/dda/voxware/auvoxware.c.leave-the-mixer-alone-it's-not-your-job
2007-11-02 11:27:04.000000000 -0400
+++ nas-1.9/server/dda/voxware/auvoxware.c	2007-11-02 11:27:56.000000000
-0400
@@ -467,8 +467,9 @@ mixerInputModeToNAS(int input_mode)
 static void
 setMixerDefaults(void)
 {
-    setPhysicalOutputGain(auDefaultOutputGain);
-    setPhysicalInputGainAndLineMode(auDefaultInputGain,
AuDeviceLineModeLow);
+    /* Do not mess with the mixer defaults. */
+    /* setPhysicalOutputGain(auDefaultOutputGain); */
+    /* setPhysicalInputGainAndLineMode(auDefaultInputGain,
AuDeviceLineModeLow); */
 }

 static int

And https://bugzilla.redhat.com/show_bug.cgi?id=250453

Patch:
diff -Naur nas-1.9.org/lib/audio/Aproto.h nas-1.9/lib/audio/Aproto.h
--- nas-1.9.org/lib/audio/Aproto.h      2006-08-13 20:33:08.000000000 +0200
+++ nas-1.9/lib/audio/Aproto.h  2007-08-11 17:58:47.000000000 +0200
@@ -99,7 +99,7 @@

 #define AU_DEFAULT_TCP_PORT            8000
 #define AU_DEFAULT_DECNET_TASK         "AUDIO$"
-#define AU_DEFAULT_UNIX_PATH           "/tmp/.sockets/audio"
+#define AU_DEFAULT_UNIX_PATH           "/var/run/nasd/audio"

 #define auFalse                                0
 #define auTrue                         1
diff -Naur nas-1.9.org/server/os/connection.c nas-1.9/server/os/connection.c
--- nas-1.9.org/server/os/connection.c  2007-03-18 07:55:09.000000000 +0100
+++ nas-1.9/server/os/connection.c      2007-08-11 19:05:02.000000000 +0200
@@ -203,10 +203,10 @@
 #ifdef hpux
 #define X_UNIX_DIR      "/usr/spool/sockets/audio"
 #define X_UNIX_PATH     "/usr/spool/sockets/audio/"
-#define OLD_UNIX_DIR    "/tmp/.sockets"
+#define OLD_UNIX_DIR    "/var/run/nasd"
 #else
-#define X_UNIX_DIR      "/tmp/.sockets"
-#define X_UNIX_PATH     "/tmp/.sockets/audio"
+#define X_UNIX_DIR      "/var/run/nasd"
+#define X_UNIX_PATH     "/var/run/nasd/audio"
 #endif
 #endif

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5766 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://radscan.com/pipermail/nas/attachments/20071102/c7842c5f/attachment.bin>


More information about the Nas mailing list