Bug 14574

Summary: ISA based ESS1688 support(partially) for VoxWare sound driver
Product: Base System Reporter: avatar <avatar>
Component: i386Assignee: sound
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 3.3-RELEASE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
OSS_ESS.patch.gz none

Description avatar 1999-10-28 07:20:01 UTC
	Attached is the patch which enables basic ISA ESS based soundcard
	support for VoxWare sound driver(/sys/i386/isa/sound).

           * The new ess_init() routine should recognize following chips:

                   ESS 488/688/1788/1868/1869/1878/1887/1888

           * Support 16 bits audio playback/record

           * Audio capabilties displayed via "mpg123 -vv":

                   |  s16  |  u16  |  u8   |  s8   | ulaw  | alaw  |
               --------------------------------------------------------
             8000  |  M/S  |       |  M/S  |       |  M/S  |       |
            11025  |  M/S  |       |  M/S  |       |  M/S  |       |
            12000  |  M/S  |       |  M/S  |       |  M/S  |       |
            16000  |  M/S  |       |  M/S  |       |  M/S  |       |
            22050  |  M/S  |       |  M/S  |       |  M/S  |       |
            24000  |  M/S  |       |  M/S  |       |  M/S  |       |
            32000  |  M/S  |       |  M/S  |       |  M/S  |       |
            44100  |  M/S  |       |  M/S  |       |  M/S  |       |
            48000  |  M/S  |       |  M/S  |       |  M/S  |       |

           * This patch has been tested on my laptop(ESS1869 built-in) for a
             couple of months.

	   * This PR fixed a bug in PR/12113 which may lead to infinite
	     waiting while user-land applications do DMAbuf_sync() related
	     operations; therefore, PR/12113 should be closed.

Fix: Which were not included in following patch:

		* MIDI playback.
		* Full duplex mode.
		* ESS 1887 specific record setting.

	* The ess_XXXX related routine should be kept into a separated file;
	  however, it seems that some other SB-clone drivers(JAZZ 16, SoundMan
	  Wave) shared the common routine(sb_XXXX) in sb_dsp.c & sb_mixer.c.
	  Any volunteer wants to tidy them up?
How-To-Repeat: 
	
	Please check & commit this patch, thanks.
	Patch has been tested on 3.2-STABLE ~ 3.3-RELEASE series.
Comment 1 iedowse freebsd_committer freebsd_triage 2002-01-21 21:28:48 UTC
Responsible Changed
From-To: freebsd-bugs->sound

Old sound-related PR; is this still relevant?
Comment 2 orion freebsd_committer freebsd_triage 2003-05-20 15:07:17 UTC
State Changed
From-To: open->closed

Voxware driver is long deprecated.  This patch fell through the cracks 
and is not relevant to the current sound arch.