---------------------------------
HLE audio plugin v1.8.1 
---------------------------------
HLE audio plugin is written by Shunyuan with features: 

* Zilmar's audio plugin spec #1.2 for pj64-2.0, spec #1.1 for other emulators
* XAudio2, DirectSound8 and No Sound driver support.
* XAudio2 upmix to 5.1 ~ 7.1 
* prebuffer stream audio
* HLE interface 
* LLE interface
* audio thread to update sound buffer 
* tested with pj64 1.6, pj64 1.7, pj64 2.x, 
  1964 svn r146, 1964_ultrafast 3.0, and mupen64 5.1.
* auto sync game to audio 
* dynamic plugin interface
* Lua interface to tweak per game settings

Special thank to CXD4 for his LLE RSP plugin. 

Suggestions and comments are welcomed.

By Shunyuan (shunyuan.chou@gmail.com) 
2013/04/23

--------
History:
--------
v1.8.1
* fix synctax error of Lua script
* fix official pj64 1.6 can't use Lua script to tweak per game settings.
  (no more need pj64 1.6 HleAudio fixed version)
* fix missing audio of Top Gear Rally

v1.8
* Open Lua interface to tweak per game settings 
  (official pj64 1.6 doesn't support this feature because it won't call audio plugin 'RomOpen' function, use pj64 1.6 HleAudio fixed version instead)     

v1.7.1u9
* Fix audio slow down for A Bug's Life. 
* Add DirectSound hardware acceleration option UI
  (default is off, for Vista and Win7 you need ALchemy, 3D SoundBack or Xear3D EX to take advantage this feature)  

v1.7.1u8
* Fix Super Smash Bros sound delay for PJ64 2.x
* Fix Super Smash Bros sound crackles for PJ64 1.6

v1.7.1u7
* Fix Paper Mario sound crackles
  (Counter Factor=1, VI refresh rate=2200, AI count Per byte=500,Fixed Audio Timing=0, Sync using Audio=0)

v1.7.1u6
* work around the project64 SP DMA read error 

v1.7.1u5
* add UI to select output device 
  (useful if you have multiple sound cards or install DSP plugin such as DFX audio enhancer)

v1.7.1u4
* playback rate support 192 KHz  
* playback bits support 24 bits (now support 16 ~ 24 bit playback)
* fix no audio of Top Gear Rally (USA) 
  (AI Count Per Byte=500, Fixed Audio Timing=1, Sync To Audio=0)

v1.7.1u3
* fix no audio for Killer Instinct Gold (USA) 1.2

v1.7.1u2
* support XAudio2 upmix (surround) 
  (tested with SRS Audio SandBox)

v1.7.1u1
* fix XAudio2 crash at pj64 1.7.0.50b23 
* fix audio speed up issue reported by nintendo1889 
* fix pj64 1.7.0.50b23 compatibility error reported by Goldlink11

v1.7.1
* fix no audio after restore game state
* fix audo speed up of Mystical Ninja Starring Goemon
* fix cannot change sound driver after end emulation
* fix compatibility issue of pj64 1.7.x   

v1.7
* dynamic interface for project64 2.x and other emulators, now HleAudio will provide interface 1.2 to pj64-2.0,   
  and provide interface 1.1 to other emulators.
* add XAudio2 driver support
* add No Sound driver support
* remove the redundent initialization and checking from HLE emulation

v1.6.2
* improve the audio quality when "Fix Audio Timing" and "Sync to Audio" options off
* improve the frame rate N64 games of 32 KHz audio   
* release the source of rsp_interface

v1.6.1
* add OSD to show the plugin internal data in real time 
 (need RivaTuner Statistics Server to display OSD)
* implement auto sync game to audio feature for otehr emulators. Now N64 games with 32 KHz audio 
  such as Zelda OOT, Bomberman 64, F-Zero X should sound better without crackles on 1964, mupen64, pj64 1.6.
   
v1.6
* change interface to Zilmar's Common Audio plugin spec, version #1.2, 
  because currently only project64 2.x CPU core supports "Sync using Audio" feature
* integrated with Project64 setting manager. 

v1.5
* integrated with project64 2.0 "Fix Audio Timing" & "Sync using Audio" options,
  now Bomberman 64, Zelda OOT, Resident Evil 2 sound crackles should fixed when
  these two options are enabled
* fix the bug sometimes no audio when playing more than one rom
* fix the noises when enter plugin settings
* fix the sound crackles of RR64

v1.4 
* fix the slow down caused by streaming audio flow control (Bomberman64 back to 60 fps)
* fix audio plugin crashes caused by intenal multi thread errors 

v1.3
* enhance code to handle audio data underrun and overrun, fix the sound crackles of Zelda OOT and F-Zero X.

v1.2 
* tweak for 1964 a little bit
* add UI for DirectSound settings

v1.1 
* fix the the sound crackles of Mario64 (sound blocks 1024x4 are too small)
* add code to round the sound frequency 32027 => 32000, 22057 => 22050 (thank CXD4's suggestion)
* add code to show debug message when unknown system type is detected

v1.0 
* the first implementation.

