libc/winsup
Corinna Vinschen 6653af6cc2 * autoload.cc: Load eight more functions for waveIn support.
* fhandler.h (class fhandler_dev_dsp): Add class Audio, class Audio_in
	and class Audio_out members and audio_in_, audio_out_ pointers so
	that future changes are restricted to file fhandler_dsp.cc.
	* fhandler_dsp.cc (fhandler_dev_dsp::Audio): Add this class to treat
	things common to audio recording and playback.
	Add more format conversions.
	(fhandler_dev_dsp::Audio::queue): New queues for buffer management
	to fix incomplete cleanup of buffers passed to the wave device.
	(fhandler_dev_dsp::Audio_in): New, added class to implement audio
	recording.
	(fhandler_dev_dsp::Audio_out): Rework to use functionality provided
	by fhandler_dev_dsp::Audio.  Allocate memory audio buffers late,
	just before write.
	(fhandler_dev_dsp::Audio_out::start): Size of wave buffer allocated
	here depends on audio rate/bits/channels.
	(fhandler_dev_dsp::Audio_in::start): Ditto.
	(fhandler_dev_dsp::setupwav): Replaced by following function.
	(fhandler_dev_dsp::Audio_out::parsewav): Does not setup wave device
	any more. Discard wave header properly.
	(fhandler_dev_dsp::open): Add O_RDONLY and_RDWR as legal modes.
	Protect against re-open. Activate fork_fixup.
	(fhandler_dev_dsp::ioctl): Protect against actions when audio is
	active.  SNDCTL_DSP_GETFMTS only returns formats supported by
	mmsystem wave API, not all supported formats.  SNDCTL_DSP_GETBLKSIZE
	result now depends on current audio format.
	(fhandler_dev_dsp::fixup_after_fork): Call fork_fixup for the Audio
	classes to let them duplicate the CRITICAL_SECTION.
2004-03-23 11:05:56 +00:00
..
bz2lib * Makefile.in: Use MINGW stuff from Makefile.common. 2002-07-07 00:44:08 +00:00
cygserver * sysv_sem.cc (semundo_adjust): Check for process id instead of 2004-03-02 11:08:35 +00:00
cygwin * autoload.cc: Load eight more functions for waveIn support. 2004-03-23 11:05:56 +00:00
doc Add FAQ about old packages. Remove B20 references. 2004-03-17 17:39:44 +00:00
mingw * msvcrt.def.in: Add stubs for msvcrt.dll (version 6.10), 2004-03-19 09:26:13 +00:00
subauth * Makefile.in: Comment out install for now. 2001-10-12 20:02:41 +00:00
testsuite * winsup.api/known_bugs.tcl: Remove mknod01 since mknod now works. 2004-03-07 04:51:29 +00:00
utils * cygcheck.cc (dump_sysinfo): Remove "Win95/NT" from output. 2004-03-21 17:58:14 +00:00
w32api * include/docobj.h (IOleDocumentView::GetDocument): Correct 2004-03-16 09:51:19 +00:00
CYGWIN_LICENSE Change location. 2003-01-13 21:11:19 +00:00
ChangeLog * Makefile.in: Make cygserver depending on cygwin. 2003-11-23 09:02:26 +00:00
Makefile.common typo 2003-08-06 03:22:18 +00:00
Makefile.in * Makefile.in: Make cygserver depending on cygwin. 2003-11-23 09:02:26 +00:00
configure * configure.in: Make --use-server the default. 2003-11-20 19:31:52 +00:00
configure.in * configure.in: Make --use-server the default. 2003-11-20 19:31:52 +00:00