$Id: HISTORY,v 1.7 2002/10/24 02:46:10 jon Exp $

Version 1.6 10/23/2002

	- Release!

	## 1.5h    10/12/2002

	- Added SoundFileGetProc() to get access to the toSound and
          fromSound procs in _SoundFileInfo[].  Needed for xemacs.

	- Added AudioLibraryVersionMajor, AudioLibraryVersionMinor,
          and AudioLibraryVersionTeeny to audiolib.h.  Somewhat more
          informative than just the old AudioLibraryVersion which was
          set at '2'.  

	  The old AudioLibraryVersion define is still there however,
          and is defined to be equal to AudioLibraryVersionMajor.

	## 1.5g    10/7/2002

	- changed inputsection defaults in nasd.conf.eg to 44.1Khz, 2
          channel 16b sound.

	  outputsection also defaults to 44.1Khz now, instead of 33Khz.

	- began some CC ANSI'fication of libaudio.  So far only a
          couple of files have been 'upgraded' just to see what the
          implications are.  It's going to be a bitch ;-) And there is
          the likelyhood of introducing errors, so I'll get a stable
          release out first before finishing this task.  The result
          however should be worth it.  I've a feeling a few obscure
          bugs will be found and fixed doing this.

	- some cleanup in server/os/utils.c and server/include/os.h.
          removing K&R style prototype decls, #including unistd.h, and
          setting Xalloc() et. al. to use proper void * rather than
          unsigned longs.

	- changed hardcoded '-L/usr/X11R6/lib' for REQUIRED libs in
	  lib/audio/Imakefile to '-L$(USRLIBDIR)'

	- it doesn't have the HPUX 11 build fixes - I think I will
          really need access to a machine, or someone who does have
          access to one and wants to fix the build, in order to solve
          this... The bcopy problem seems to be in the HPUX X11
          config/ stuff.

	- We really should release this one unless there are big
          problems. ;-)

	## 1.5f	8/26/2002

	- time for another development update.  Should probably go
          final with a 1.5.1 version soon...

        7/23/2002

	- removed fdset.h stuff for cygwin - no longer needed.

	- auvoxware - added __CYGWIN__ checks (equal to linux)

	- added __CYGWIN__ to dia/auservertype.h 

	- changed server imake to build nasd.exe on cygwin rather than nasd.


        7/20/2002

	- added cygwinArchitecture to the server Imakefile so
          auvoxware will be built on cygwin systems.

	- Removed the SoundFileInfo[] array in sound.h so cygwin would
          be happy.  Apps should not have been accessing that array
          directly anyways.

	  Added the following new functions to sound.c (that used to
	  be macros in sound.h):

	     SoundFileFormatString, SoundValidDataFormat,
	     SoundFileFormatToString, SoundFileFormatToAbbrev,
	     SoundFileFormatToSuffixes

	  Assuming your code did not attempt to directly access
	  SoundFileInfo[], no changes should be required.

	  libaudio.so revision bumped to 2.3

        7/15/2002

	- patch from Nicholas Wourms.

	  - fixed FIONREAD in Alibint.c for cygwin
	  - fixed Imake for libaudio on cygwin

        7/9/2002

	- rename dia/nasconfig.* to dia/nasconf.* to avoid name
          collision with NasConfig.h on windows systems.

	## 1.5e    7/7/2002

	- added patch from Nicolas Escuder that adds support for
          Windows operating systems using Cygwin.  Even the NAS server
          is now supported.  There are still issues with the clients. 

	  I will provide a link on the nas-links page to precompiled
	  windows binaries for libaudio.dll, nasd, and some clients -
	  provided by Nicolas.

	- based on idea from Nicolas, added background (-b) mode to
          nasd, to force it to run in the background.  Actually, he
          supplied a patch, but I just redid it to work properly with unix
          systems.

	  If you want to see error messages from nasd while starting
	  up, do not run it in daemon mode or you won't see the error
	  messages as stdout/stderr are closed.  Someday, I'll track
	  down all of these and have them use osLogMsg(), which would
	  work regardless.

	- added NAS_AUDIOMSGFILE in config/NasConfig.h to specify
          where audio messages are stored (ADMPATH in os/osinit.c).

	- Yes, we are at 1.5e now. Sorry I didn't release 1.5b-d.  Was
          a little busy with the day job ;-)
	
	## 1.5d    6/1/2002

	- added .ps -> .pdf conversions in doc/pdf/

	- added html versions of man pages in doc/html/

	## 1.5b    3/16/2002

        - added patch from Marco Molteni to add a '-local' option to
	  nasd.  Specifying this option allows only local clients to
	  connect.

        - fix nasd.man to describe this and other supported options.

        - moved allow_any_host into the NasConfig struct.  Along with
          the new '-local' option.

	## 1.5a    2/23/2002

	- more STARTSERVER fixes - there was still one case where when
          STARTSERVER was defined, nasd could be called with the wrong
          display number due to a bug in _AuConnectServer.

	- changed LEX/YACC DEBUG token to CDEBUG to avoid conflicts
          when building nas with '-DDEBUG'

	- DEFAULT_AUSERVER is now ":0" rather than
          "tcp/localhost:8000".  A local socket connection will startup
          faster than a tcp connection.
	
	- mutex.h
		- corrected unixware 7.x build problem
                  (XMUTEX_INITIALIZER) in mutex.h 
		- added same check for sun/solaris boxes
		- got rid of XUSE_MTSAFE_API - now controlled by
                  NAS_USEMTSAFEAPI defined in config/NasConfig.h

		  If you think you are having mutex problems, you can
		  edit config/NasConfig.h and '#undef'
		  NAS_USEMTSAFEAPI, then rebuild everthing.  This will
		  turn off threadsafety in libaudio.

	- added patch from Tobias Diedrich to fix deadlock in
          AuNextEvent().

	- added new mutex in audio/Alibint.c to protect
          _AuReadEvents() since it can no longer rely on the server
          lock as a result of Tobias's patch above.

	- added new option, 'gain', to config file in the input/output
          sections.  This sets the default gains when nasd starts up
          (if MixerInit is enabled).  Only in voxware for now.

        1/5/2002

	added -lXt and -lXau to the lib dependancy for libaudio.so on
	Linux systems per a request from Lorenzo Delana.

        1/20/2002

	- fixed bug in ConnSvr.c that could cause the wrong server
          number to passed to nasd when STARTSERVER is defined.


Version 1.5 12/26/2001

	## 12/1/2001

	- Corrected manpage html generation issue with the nasd.conf
	  manpage via patch from Erik Inge Bolso


	## 1.4.2d  11/25/2001

	- implemented locking in libaudio via Xthread mutexes.  

	  This is kind of a big change, but the result should be a
	  threadsafe libaudio.  I used Xthreads, because then
	  theoretically I shouldn't have to care about the system's
	  actual thread implementation. Right?? I've tested so far on
	  Linux (uses pthread_*) and Unixware 2.03 (uses thr_*).  So
	  far so good.

	- bumped up the libaudio rev to 2.2

	## 1.4.2c  11/4/2001

	- turned off streams support on SVR4 systems for libaudio.
	  UNIX and TCPCONN work just fine.  The nasd server hasn't
	  used streams support since the 1.3 timeframe anyway.  This
	  will work around local connection issues on UnixWare and
	  probably Intel Solaris as well.  

	- added patches from Steve McIntyre to work around an XFree86
	  issue, and prevent the HPUX server from being built on HPPA
	  systems running Linux.

	- add change to AuServerName() in libaudio to default to
	  'tcp/localhost:8000' if neither AUDIOSERVER or DISPLAY are
	  set as per a suggestion by Erik Inge Bolso.

	## 1.4.2b  10/6/2001

	- Added patches from Peter Berg Larsen to the Sun server that
	  adds support for $AUDIODEV on Sun Ray platforms.

	- Added patches from Peter Berg Larsen that corrects some
	  issues dealing with dead clients, and improper server resets
	  when persistent flows are still active.  Also, some
	  uninitialized variables are now properly initialized.

	## 1.4.2a  4/21/2001

	- patch from Steve McIntyre to resolve man page issues, and
	  add a libm dependancy to libaudio for linux platforms.

	- patches from Philippe Jouguet

		new options in nasd.conf for the voxware server:
		- add 'mixer' device option to secify the mixer.
		- add 'forcerate' option to force the sample rate
		  to the current rate at all times
		- add 'autoOpen' option to specify whether the audio
		  devices are opened at init time.
		- add 'readwrite' option to specify whether devices
		  are opened read/write (default) or
		  readonly/writeonly for the input and output devices,
		  respectivly.


	- added patch from Nick Ing-Simmons to pass the correct port
	  offset when starting nasd within libaudio (if START_SERVER
	  is defined at build time).

	- always output verbose/debugging info to stderr if debugging
          is enabled (even if you normally use syslog).  stderr is not
          closed when debugging is turned on.


Version 1.4.2 4/8/2001:

        ## 1.4.1b 3/9/2001

	- added patch from Paul Fox allowing auctl to set gains based
		in an increment

	- added a patch to lib/audio/wave.c from Philippe Jouguet that
          corrects an infinite loop that can occur when auplay is fed
          a corrupted wave file.

	- added patches to auplay from Paul Fox.  auplay will now stop
          the flow when a signal is caught.  Also a new option '-l'
          allows auplay to play filenames specified on stdin.

	- set libaudio's SO revision to 2.1 from 1.4 to avoid
	  confusion with older apps built when the older libaudio
          was at 2.0 (debian).

	## 1.4.1a 12/10/2000

	- autool - fixed -volume option

	- added cast from a patch by Sun Ireland for their OpenOffice
		(StarOffice) project.

	- fixed libaudio to start up 'nasd' instead of 'au' when 
		START_SERVER is defined.

	- applied Erik Inge Bolso's patch for properly opening 2
          channels instead of 3 for stereo output devices.

	- added HPUX 10.20.x patches from Klaus Dittrich

	- fixed problem in lib/audio/Alibint.c regarding ambiguous
          casts with void pointers in the buffer padding code, and to
          make it more portable with other operating systems/compilers
          (HPUX 10.20, UW7).

	- lib/audio/soundlib.c - fixed cases where a client (like
          auplay) would hang if the element Import size matched the
          complete datasize of a flow.  An EOF would never be sent.
          Thanks to Shigeharu Takeno for providing a reproducible test
          case.

	- added Unixware 7.1 patches from Robert Roselius.

 	- added patch to sun/ausuni.c from John Wehle correcting a
          problem on some solaris machines that don't allow sbpro
          devices to be open for both reading and writing.

	- add patches from Steve McIntyre for creating sticky socket
          directories, and to close stdin, stdout, and stderr.

	

Version 1.4.1 9/4/2000:

	- this release is really only neccessary if you are using the
          NAS server on a Sun, and have frequent dropouts.  

	- fix to the sun server from Charles Levert correcting a Sun
          problem with 'late SIGPOLLS'.

	- minor documentation fixes - new mailing list archive
          location, etc.

Version 1.4 2/27/2000:

	- Release of 1.4

	- Removes USE_BSD* dependancies on Linux builds.  

	## 1.3e 02/12/2000:

	- This is a pre-release 1.4 candidate.

	- corrected a problem in the voxware server where when
		ReleaseDevice was enabled, the device would be held
		open when nasd was first started until the first
		connection was made.

	- added config/NetAudio.def to set various configurables like
		NasConfigSearchPath.

	- changed documentation regarding the new location of the web 
		site (http://radscan.com/nas.html)

	## 1.3d 01/05/2000:

	- corrected some build problems on Sparc Solaris 2.6 with native 
		compiler/X11 env

	- corrected build problems on native Unixware compiler and X11R5
		Note, to get this to work, you need 3 corrected
		/usr/X/lib/config/ files from me...

	- integrated config handling in all servers, based on a 
		lex/yacc parser from Stephen Hocking that was in the 
		voxware server.

		- config file is /etc/nas/nasd.conf
			an example config file (/etc/nas/nasd.conf.eg) 
				is installed.
		- parser errors are a bit more informative ;-)
		- no more parser in voxware server... moved into dia/
			for general purpose use.
		- each server now has a config.c and config.h file that 
			provides the ddaSetConfig() functionality required
			of each server by dia/.  In the SGI case, 
			it's just a stub. ddaSetConfig() ignores options
			it doesn't understand (required behavior).
		- server cmdline options '-v' (verbose) and '-d <num>'
			(debug messages) added.  These override 
			nasd.conf settings.
		- hooks added to all servers in config.c - ddaProcessArg() 
			and ddaUseMsg() for integrated arg handling.


	- voxware server:
		- release device functionality now controlled by
			nasd.conf
		- mixer init policy now controlled by nasd.conf

	- sun server:
		- added integrated sun (ausuni) module (now built by 
			default) into the distribution.  
		- release device functionality now controlled by
			nasd.conf

	- hpux server:
		- added device release (ReleaseDevice) capability to hpux
			server.  All servers except for sgi now
			support this functionality.
		- fixed sample rate change problem in hpux server
		- separated hardware init code for ReleaseDevice 
			functionality
		- added new option in nasd.conf to select either the
			EXT (external - headphones/speakers) or INT
			(internal speaker) output device by default

	- renamed generated server binary from au* to nasd for all
			servers
		- man pages updated (auserver.man and 
				AUVoxConfig.man	respectively).

	## 1.3c 10/24/99:

	- Added patches from Mark Davies for NetBSD.  

	- changed BIG_ENDIAN ->NAS_BIG_ENDIAN and LITTLE_ENDIAN to
		NAS_LITTLE_ENDIAN per Mark's suggestion globally

	- Added global NasConfig struct for configurables global to all 
		servers.

	- More prep work for unified arg/config handling

	- Some bug fixed related to the 'mondo' patch.

	- Replacement of PRMSG() macros with a varargs logging function:
		osLogMsg(...).  If your working on a server and want to
		use these, #include "aulog.h" (in 1.3c+) and go for it.

	- I've added a NasConfig.h file to config/ that defines (or will)
		a few things (like whether you want to use syslog,
		etc).  Initially you will need to tweak this manually 
		for your site... 

	- Changes made to the way various include files are generated
		during a build... Basically any module that contains
		header files needed by other modules have the
		appropriate header files exported into TOPLEV/include 
		during the includes phase of the build using the imake
		BuildIncludes() macros.  
	
	## 1.3b 9/4/1999:

	- Addition of Steve McIntyre's Mondo patch.

	## 1.3a 8/1/1999:

	- First test version incorporating many patches from around
		the planet, based on original 1.2p5 sources.

#
#
############################################################################
# the following is included for historical reasons, and concerns
#  changes to 1.2p5 and earlier versions. 
#
# $NCDId: @(#)HISTORY,v 1.27 1996/09/05 18:46:47 greg Exp $
#

** 1.2 - PATCH 05 **

Server
	o voxware bug fixes, configuration file, and man pages.
	  (Thanks to Stephen Hocking)

	o fixed some HP server compilation problems.

	o fix a potential problem when reading from a client.  under
	  some circumstances the read pointer could be left on
	  a non-sample size boundry resulting in white noise.

	o add a bit to the component use field to indicate that using
	  that component will override the use of other components.  This
	  bit is used on input devices when the audio hardware does not	  support recording and playing simultaneously.

	o fix a problem with limiting samples on waveform devices.  if you
	  used anything other than AuUnlimitedSamples, bad things would
	  happen.

Library
	o fixed a problem reading some wave files.

Clients
	o auphone - check for the exclusive use bit.

	o auscope - display the exclusive use bit.

Misc
	o support library and client compilation under Windows NT with
	  X11R6.1.

** 1.2 - PATCH 04 **

Server
	o fixed a bug in the Sun dbri driver that caused the speaker
	  to get turned off.  (Thanks to Charles Levert)

	o fixed an ancient server bug that caused buffers to get
	  corrupted when a flow is stopped and restarted.

Clients
	o some more minor bug fixes to auscope.

** 1.2 - PATCH 03 **

Server
	o HPUX server now functional.  (Thanks to Jay Brister)

	o Fix non-rentrant malloc problem for SGI server under
	  IRIX (5.3).  (Thanks to Scott Byer)

	o removed obsolete SVR4 voxware code.

	o catch bad protocol requests.

Library
	o prevent AuSoundPlayFromFile() and AuSoundPlayFromData() from
	  changing the line mode.  A bug introduced in patch 2.

	o fixes for shared audio library under X11R6.  (Thanks to
	  Bill Sebok)

	o clean up some defines in the STARTSERVER code. (Thanks to
	  Bill Sebok)

	o added AuSoundRecordToDataLength() which can be used to find the
	  length of data recorded when recording to memory.
	  (Thanks to Jonathan Thompson)

Clients
	o minor bug fix to auscope.

	o audemo - cut off filename extensions from the right instead
	  of the left. (Thanks to Raymond Toy)

Misc
	o Updated SunOS 4.1.3 OpenWindows notes in BUILDNOTES.
	  (Thanks to Curt Schroeder)

	o Added notes and patch for running on a SS5 to BUILDNOTES.
	  (Thanks to Mikael Pettersson and Curt Schroeder)

	o Added note for building clients under AIX to BUILDNOTES.
	  (Thanks to Harald Milz)

	o Added note for building on DEC Alpha (OSF1 V3.2).
	  (Thanks to Andrew Daviel)

** 1.2 - PATCH 02 **

Server
	o caused the server to return to the lowest sampling rate when a
	  flow terminates while playing multiple flows simultaneously.

	o improved voxware dda driver.
	  (Thanks to Stephen Hocking and Shawn M.)

	o experimental HP dda driver.  (Thanks to William J. Hunter)

	o add a -timeout option to the server to allow the server to
	  terminate after a period of time with no clients.
	  (Thanks to William L. Sebok)
	  To enable this, you must build the NAS tree using the following:

	  make WORLDOPTS='-k CDEBUGFLAGS="$(CDEBUGFLAGS) -DSTARTSERVER"' World

Library
	o fixed a bug in the wave file reader.

	o fixed a bug in the aiff file reader.

	o new soundlib/sound functions AuSoundPlay(), AuSoundRecord(),
	  and SoundTellFile() with man pages.  (Thanks to Yoav Eilat)

	o attempt to launch an NAS server on the local host if client
          cannot initially connect to a local server.
          (Thanks to William L. Sebok)
	  To enable this, you must build the NAS tree using the following:

	  make WORLDOPTS='-k CDEBUGFLAGS="$(CDEBUGFLAGS) -DSTARTSERVER"' World

Clients
	o add *input resources to all X clients to correct a problem
	  with some window managers not giving focus.

	o fixed bug in auscope when displaying actions or parameters.

	o fixed typo in auscope that caused it not to work with Perl 5.

	o added playRaw example client.


** 1.2 - PATCH 01 **

Server
	o added output mode control (Speaker/Headphone/Line-Out) to the server
	  and the Sun dda drivers. (thanks to Ian Donaldson)

	o fix for multiple bundle elements in a flow. (thanks to Steven King)

	o improved voxware dda driver.
	  (thanks to Christian Schlichtherle and Stephen Hocking)

	o the server now does a range check on the output data and
	  clips correctly.  Due to the possible performance impact,
	  this can be disabled by commenting out the #define
	  OUTPUT_RANGE_CHECK in server/dia/auprocess.c.  ** ATTENTION
	  DDA DEVELOPERS ** this fix required a change to all of the
	  dda drivers.  The output minibufs must be twice as large as
	  they were previously.  (thanks to Steven King)

	o voxware dda driver - Fix problem (apparently from
	  SoundPlayFromBucket) where tail of data was not flushed
	  through card until start of next operation.  (Thanks to Paul
	  F. Werkowski)

	o only call dda set sample rate callback if the rate has changed.

Library
	o SVR3.2 with STREAMSCONN wouldn't work with XDMCP due to a
   	  bug in nameserver.c.  (required XDMCP to be disabled; this
   	  won't affect users of stock NAS 1.2 but would affect those
   	  audio servers that implement XDMCP authorization checking)
	  (thanks to Ian Donaldson)

	o fatal errors now lookup AuErrorDB for more detail.
   	  (like Xlib does with XErrorDB) (thanks to Ian Donaldson)

	o Implementation of user callable error catching functions:
		AuSetErrorHandler()
		AuSetIOErrorHandler()
	  (thanks to Ian Donaldson)

	o added default error handler variables so you can catch errors
	  during the initial server open.  (Thanks to Richard Caley)

	o added some setjmp gunkus to Xtutil.c for use by error handlers.
	  (Thanks to Richard Caley)

	o C++ compatibility. (Thanks to Yoav Eilat)

	o New SoundSeekFile() and SoundFlushFile() functions.
	  (Thanks to Yoav Eilat)

	o SoundNumSamples() value is now updated in SoundWriteFile().
	  (Thanks to Yoav Eilat)

Clients
	o added re-written auscope.

	o modified aupanel to support output mode controls.

General
	o made all the Imakefiles use an explicit path for NetAudio.tmpl
	  to fix possible includes of the wrong NetAudio.tmpl.

	o some notes on building under SunOS 4.1.3 OpenWindows from
	  Ian Donaldson.

	o new API man pages from Steven King.  (Thanks!)

	o made man page installation use standard InstallManPage macro.

	o use AuInstallScript macro to install scripts.

	o fixed some build and install problems under FreeBSD 1.1.5.1.
	  (Thanks to Paul F. Werkowski)

** Release 1.2 **

General
	o A few cosmetic changes.

** PATCH 02 **

Server
	o fixed a bug with monitor elements not returning the correct
	  data.  This caused the meters in audemo to be broken.

	o patches from Steven King

	    - In server/os/connections.c, EstablishNewConnections
              probably ought to check that newconn is less than
              lastfdesc before it is used in the BITSET macro (this in
              the mit X11r5 source, havent looked at r6 yet), tho
              you'd need lots and lots of connections to tickle
              this. Also in connections.c, CheckConnections should
              probably check for EINTR if select returns an error, I
              dont know if any implementation of select would actually
              EINTR for if it got a SIGPOLL or SIGALRM if the timeout
              is zero, but better safe than sorry.

            - FallbackDefineSelf exists and is only referenced in
              os/access.c. Its part of the localconn patch which
              obviously isnt handling non 386 svr4's correctly.

Library
	o fixed a bug in AuSoundRecordToData().  The flow wasn't getting
	  stopped when the recording was finished.

	o fixed compile problem in ConnSvr.c under Dell 2.2 Xfree86-2.1.1.

	o fixed compile problems under some X11R4s that don't define _Xconst.

Clients
	o fixed problem with audial -recognize messing with line mode and
	  gain attributes without checking to see if the device was capable.

	o fixed range/clipping problem in effectsAmplitude in auedit.

General
	o changed occurances of the name "NetAudio" to "Network Audio System"
          or "NAS" due to a name conflict.

	o patches from Ian Donaldson

	    - Solaris 2 server failed to link because of undefined
	      symbol FallbackDefineSelf().

	    - Shared library compilation broke completely due to
	      changes in NetAudio.tmpl and because the include of
	      <Library.tmpl> was moved too high up in
	      lib/audio/Imakefile, and missed out on the
	      DoSharedLib/DoNormalLib flags etc.

** PATCH 01 **

Server
	o fixed a couple of problems with speed changes in the
	  SVR4 VOXware driver.

** Release 1.2b BETA **

Library
	o fixed possible bogus free in sound.c.

Clients
	o fixed auwave dropping core (due to bugs in the slider widget).

General
	o lots of stuff from Steven King.  See CHANGES.sk below for details.

	o The file server/PATCHES.sk contains patches from Steven King to
	  improve the handling of audio clipping in the server. I've
	  not applied them to the standard distribution yet because
	  I'm concerned about their possible performance impact.

	o added some documentation about actions.

** PATCH 01 **

Server
	o fixed a bug with looping flows.

Library
	o fixed problem with X11R4 build.

** Release 1.2a ALPHA **

Server
	o fixed a bug in ReadElement that would occasionally cause
	  protocol errors during recording.

	o wake up the server when there are events to send out.

	o fixed a bug in readBucket() that caused noise at the end of
	  a bucket.

	o get rid of minibuf padding to eliminate clicks.

	o optimized sample rate conversion.

	o added FreeBSD/Linux VOXware driver (thanks to Amancio Hasty).

	o added SVR4 VOXware driver (thanks to Stephen Hocking).

	o added line mode control to Sun dbri driver.

Library
	o add AuXtAppRemoveAudioHandler().

	o fixed memory leaks and other problems with the bucket attribute
	  cache.

	o fix some nits with waveform durations.

Clients
	o new auphone sample app.

	o added some simple examples.

General
	o much cleaning and various OS support fixes from
	  Ian M. Donaldson.  See CHANGES.labtam below for details.

** Release ?.? ALPHA (Feburary 11, 1994) **

Server
	o fixed a bug where the last little bit of audio data would be
	  lost.

	o fixed a bug in readClient where the buffer was being incorrectly
	  padded, possibly resulting in static at the end of the audio data.

	o fixed two track monitor elements.

	o Sun driver

		- fixed a bug that could cause the output to get jumbled.

		- wait for audio to drain after flows finish.

		- Sparc 10 dbri driver.

Library
	o added API for set and get close down mode.

	o added Amiga IFF/8SVX sound file support.

	o close the sound file before the callback is called for
	  AuSoundRecordToFile().

	o make ListBuckets add to the bucket cache.

	o added file format suffixes to the SoundFileInfo structure.

	o added AuSetString() macro.

	o fixed "strdup" bug in SoundCreate.

	o re-arranged some utility routines into separate modules.
	  (NOTE: possible incompatibility - AuMonitorRate and AuMonitorFormat
	         are no longer externed in audioutil.h)

	o add AuWaveFormToString() and AuStringToWaveForm().

	o add AuSoundRecordToData().

	o add stereo support for voc files (thanks to Steven King).

Clients
	o auedit

		- deal with sound files with an unknown number of samples
		  (like those from stdin).

		- add record capability.

	o utilities

		- various new utilities.

	o new auwave sample app.

	o new slider widget for volume/gain controls.

General
	o re-worked the includes of NetAudio.tmpl so it will (hopefully)
	  work on most platforms.

	o builds under SVR3.2 (thanks to Steven King).

** Release 1.1 **

Server
	o Protected malloc/free from audio signals.

	o Fixed setting parameters of waveforms and buckets.

	o New dia/dda interface.

	o Fixed a bug where the flow was re-compiled after
	  an event was requested even if that event didn't change
	  the state of the flow.

	o Fixed possible memory trashing in readClient.

	o Sun driver

		- Don't initialize output gain or internal/external speaker
		  mode.

		- Get rid of some 'clicks'.

		- Deal with the situation when there are no physical outputs
		  in a flow.  This fixes the core dumps when you record before
		  having played anything.

		- Fixed erroneous calling of AuProcessData() after changing
		  gain values.

		- Fixed various bugs in recording (how did it ever work?!)

	o New SGI driver (thanks to Reiner Ernst)

Library
	o Fixed a bug in AuConvertShortToData().

	o Fixed function prototypes in Xtutil.h.

	o Fixed a problem in Xtutil.c where events would not get processed
	  if they were enqueued while awaiting a reply.

Clients
	o auedit
		Fixed a bug with temporary and backup file names.

	o auconvert
		Fixed a bug with converting raw data.

General
	o Solaris 2.2 support


********************************************************************************
			      CHANGES.labtam
********************************************************************************

Many thanks to Ian M. Donaldson at Labtam for the following:

- Now compiles cleanly on all these without any compiler warnings
  whatsoever (well the odd one or two under X11R4).

	- Solaris 2.3 on SS1000 under Sun provided Open Windows 3.2
	  Server untested.  
	      (We only have a SS1000 running 2.3 which has no audio device)

	  Porting required because Sun changed the audio interface
	  slightly in Solaris 2 versus SunOS 4.

	  Clients tested reasonably.

	- AIX 3.2 on a RS6000/220 under IBM provided X11R4
	  No server port done.  Don't have access to any IBM audio hardware.
	  Clients tested reasonably.

	- SunOS 4.1.2  on a Sun IPX under MIT provided X11R5.
	  (no porting required specific to this platform)
	  Both clients and server tested reasonably.

	- SVR4.0/486  on one of our own computers under MIT provided X11R5.
	  (as a guess comparable to Dell SVR4.0 or ESIX SVR4.0)
	  We used native STREAMSCONN TLI TCP/IP transport.
	  No server port done.  This computer never had audio hardware.
	  Clients tested reasonably.

	- SVR3.2/486  on one of our own computers under MIT provided X11R4.
	  This O/S uses Lachman provided TCP/IP, and we used
	  STREAMSCONN TLI TCP/IP transport.
	  No server port done.  This computer never had audio hardware.
	  Clients tested reasonably.

	  Unfortuantely every SVR3.2 system has some different
	  quirk since TCP was non-standard then.   No guarantees
	  it will compile better on other types.

- Bugfixes
	- server had byte swapping  error that crashed playbucket(1)
	  when client run from opposite endian host

	- autool crashed on little endian host when volume slider was
	  used when stopped (hung on big endian host)

	- various signal mis-use.  Background processes from non-job
	  control shells don't die when ^C hit anymore.

	- "SVR4" is not a reliable symbol for use in Imakefiles; use SystemV4
	  instead.  (broke audial).

	- in Netaudio.tmpl, don't redefine MKDIRHIER or BINDIR by
	  default as this breaks the bootstrap in subtle ways on 
	  certain systems.  Audio clients now get installed in the
	  same directory that X clients do rather than /usr/local/bin.

	  On Solaris 2.3 with OpenWindows, this means /usr/openwin/bin,
	  otherwise it usually means /usr/bin/X11.
	  Similarly for header files, app-defaults and libraries.

	- build will not fail on systems that don't have servers ported
	  to them.  This allows the clients and libraries to be built
	  on all platforms and servers on a subset.

- libaudio is built as a shared library (currently rev 2.0) on systems
  where libX11 is built shared.  In the list above that means
  Solaris 2.3, SunOS 4.1, SVR4.0.
  I used rev 1.0 for the September 93 netaudio release but changes
  between then and netaudio 1.1 looked somewhat incompatable so I bumped
  the revision number then.

- X11R4 compatability re-added in so compiliation in those 
  environments is now possible.

- STREAMSCONN support for SVR3.2 and SVR4.0 for libaudio.  
  This is a direct port from MIT X11R5 with the odd fix-tracker applied.
  NB: Not done for auscope(1).  sockets used in that case.
  (this is ok but if people want binary compatability from SVR3.2
  to SVR4 sockets won't work because SVR3.2 has no standard socket ABI)

- Better System-V and SVR4 support

	- Use System-V reliable signals.  (ie: sigset(2)).  
	  signal(2) is unreliable on System-V systems.
	  Didn't bother with SVR4/POSIX signals; SVR3 signals work
	  fine on SVR4 and are easier to understand and code.

	- don't use libucb at all on SVR4.  This library is bad news
	  on most SVR4 systems and should be avoided like the plague!

- Better ANSI support (SVR4 + Solaris)

	- use ANSI memcpy/memset exclusively on ANSI systems instead
	  of bcopy/bzero

	- eliminated all SVR4.0/486 cc's reported warnings of callback
	  function type declaration mismatches.  (this is the bulk
	  of the changes).  Solaris 2 cc doesn't report half these things
	  unfortunately.

- auscope(1) now has a '-n' flag so it can be run in background reliably.

- 'make install' now fully installs correctly.  Even app-defaults!

- 'make clean' now properly cleans

********************************************************************************
			      CHANGES.sk
********************************************************************************

Thanks to Steven King for the following:

- building on ISC

    I had a few problems building 1.2a on my system running ISC SVR3.2r4.0
    with the imake enviroment provided by XFree86 (It looks to be more
    work than its worth to get netaudio to build with the vendor supplied
    X11R4).

    In server/dia/au.h, ISC doesnt have memmove, however bcopy and friends
    are in the normal library search path.

    In lib/audio/Alibnet.h, the omission of the #define for _AuWriteV
    resulted in link errors for all clients.

    In lib/audio/Imakefile, the SYSV_DEFINES macro causes major grief if
    one has installed XFree, I would expect this to be true for any SVR32
    that has XFree.  Also, I found it usefull to include NetAudio.tmpl
    after Library.tmp so that I could redefine things like CDEBUGFLAGS and
    such in NetAudio.tmpl

    In clients/audio/audemo/audemo.c, ISC needed sys/time.h included, I
    suspect most SYSV's will as well.

    In clients/audio/audial/audial.c, the compile breaks on the inclusion
    of sys/file.h, I think this is a ISC 4.0 specific problem.

- localconn patches

    These patches are derived from the XFree86 2.0 release.  I pretty much
    just merged the XFree patches into netaudio.  My principle interest
    was in the streams localconn code for ISC; besides greatly improving
    the performance for local clients, they allow the server to run with
    the system at run level 2, or on systems where full networking isnt
    availible (an extra $$$ option on ISC and lots of other PC sysVs).
     In addition to the ISC code, theres also support for other systems, SVR4,
    SCO, linux and net/free bsd, which may or may not be usefull depending
    on the system (ie, is anyone doing an independent SCO port?).  There
    is also alot of code for a minix and amoeba port.  I can pretty much
    guarantee that this will not work, but I left it in as it doesnt affect
    the other systems and might give a leg up to anyone attempting a minix
    or amoeba port.

- NetAudio.tmpl

    Make clients get rebuilt after libaudio.a changes.
