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
..
2004-02-18 20:48:38 +00:00
2004-03-19 18:00:08 +00:00
2003-12-31 06:30:48 +00:00
2004-02-20 23:31:47 +00:00
2003-04-10 19:49:30 +00:00
2003-12-23 16:26:31 +00:00
2004-03-23 11:05:56 +00:00
2004-03-23 11:05:56 +00:00
2003-01-10 12:32:49 +00:00
2004-01-20 03:11:39 +00:00
2004-03-18 19:30:51 +00:00
2003-12-23 16:26:31 +00:00
2004-01-23 23:05:33 +00:00
2004-01-23 23:05:33 +00:00
2003-04-16 03:03:45 +00:00
2003-08-06 01:40:12 +00:00
2003-09-04 03:01:35 +00:00
2004-02-02 10:47:29 +00:00
2004-03-21 22:24:06 +00:00
2004-03-18 19:30:51 +00:00
2004-02-09 04:04:24 +00:00
2004-02-09 04:04:24 +00:00
2003-11-19 18:50:23 +00:00
2003-11-19 18:50:23 +00:00
2003-11-19 18:50:23 +00:00
2004-02-09 04:04:24 +00:00
2004-02-09 04:04:24 +00:00
2004-01-19 05:46:54 +00:00
2004-03-16 04:39:38 +00:00
2004-03-15 02:47:35 +00:00
2003-09-27 05:35:02 +00:00
2004-02-26 05:10:49 +00:00
2004-03-12 03:09:28 +00:00
2004-02-09 04:04:24 +00:00
2004-02-09 04:04:24 +00:00
2003-11-14 23:40:06 +00:00
2004-01-21 19:14:19 +00:00
2003-12-03 16:35:52 +00:00
2004-01-21 19:14:19 +00:00
2004-03-20 00:03:32 +00:00
2004-02-09 04:04:24 +00:00
2004-02-13 19:34:32 +00:00
2003-11-14 23:40:06 +00:00
2004-02-22 23:21:20 +00:00
2004-01-20 19:36:35 +00:00
2004-01-20 19:36:35 +00:00
2004-03-21 17:41:40 +00:00
2004-03-21 17:41:40 +00:00
2004-02-22 23:21:20 +00:00
2003-11-14 23:40:06 +00:00
2003-11-14 23:40:06 +00:00
2004-03-14 18:01:45 +00:00
2004-03-15 15:50:20 +00:00
2003-09-25 00:37:18 +00:00
2004-02-25 01:19:13 +00:00
2004-02-22 23:21:20 +00:00
2003-12-03 09:55:42 +00:00
2004-02-09 04:04:24 +00:00
2004-02-09 04:04:24 +00:00
2004-02-09 04:04:24 +00:00
2004-03-23 11:05:56 +00:00
2004-03-21 17:41:40 +00:00
2004-02-09 04:04:24 +00:00
2004-02-09 04:04:24 +00:00
2004-02-09 04:04:24 +00:00
2004-03-18 12:28:47 +00:00
2004-02-09 04:04:24 +00:00
2004-02-09 04:04:24 +00:00
2004-03-13 18:15:06 +00:00
2004-02-09 04:04:24 +00:00
2004-03-09 02:51:26 +00:00
2004-02-09 11:30:57 +00:00
2004-03-15 11:37:37 +00:00
2004-02-09 04:04:24 +00:00
2004-02-02 20:33:09 +00:00
2004-02-09 04:04:24 +00:00
2004-02-09 04:04:24 +00:00
2004-02-09 04:04:24 +00:00
2004-02-17 20:03:01 +00:00
2004-03-23 11:05:56 +00:00
2003-12-03 09:55:42 +00:00
2004-03-07 04:57:47 +00:00
2004-03-12 03:09:28 +00:00
2003-11-28 21:20:15 +00:00
2004-02-25 04:08:00 +00:00
2003-03-19 21:38:25 +00:00
2003-12-23 16:26:31 +00:00
2004-02-09 04:04:24 +00:00
2003-12-23 16:26:31 +00:00
2004-03-14 05:35:19 +00:00
2004-03-22 18:30:38 +00:00
2003-11-28 20:55:59 +00:00
2003-07-26 04:53:59 +00:00
2004-02-08 19:59:27 +00:00
2004-02-17 20:03:01 +00:00
2004-03-04 05:31:14 +00:00
2003-08-31 18:26:58 +00:00
2004-02-26 11:32:20 +00:00
2004-02-04 22:40:50 +00:00
2004-02-26 11:32:20 +00:00
2003-11-28 20:55:59 +00:00
2004-02-09 04:04:24 +00:00
2003-11-14 23:40:06 +00:00
2003-07-07 05:30:33 +00:00
2004-03-18 12:28:47 +00:00
2003-12-07 22:37:12 +00:00
2003-12-23 16:26:31 +00:00
2004-02-21 04:46:00 +00:00
2004-02-17 20:03:01 +00:00
2004-02-22 23:21:20 +00:00
2004-03-12 03:09:28 +00:00
2004-03-21 17:41:40 +00:00
2004-02-12 03:01:58 +00:00
2004-03-17 16:38:48 +00:00
2003-11-28 20:55:59 +00:00
2003-04-28 20:10:54 +00:00
2003-04-28 20:10:54 +00:00
2003-11-14 23:40:06 +00:00
2003-12-23 16:26:31 +00:00
2003-11-14 23:40:06 +00:00
2003-07-09 01:33:06 +00:00
2003-07-07 05:32:24 +00:00
2003-06-16 03:24:13 +00:00
2003-09-27 03:44:31 +00:00
2004-02-09 04:04:24 +00:00
2004-02-09 04:04:24 +00:00
2004-02-11 17:54:34 +00:00
2004-02-09 04:04:24 +00:00
2004-02-09 04:04:24 +00:00
2004-02-09 04:04:24 +00:00
2003-11-28 20:55:59 +00:00
2004-02-21 04:46:00 +00:00
2003-12-01 15:03:43 +00:00
2004-02-22 23:21:20 +00:00
2003-11-28 20:55:59 +00:00
2004-02-26 05:10:49 +00:00
2004-03-16 05:05:22 +00:00
2004-03-12 03:09:28 +00:00
2003-11-14 23:40:06 +00:00
2004-03-14 06:34:05 +00:00
2003-11-28 20:51:11 +00:00
2004-02-22 23:21:20 +00:00
2003-12-07 22:37:12 +00:00
2003-03-09 20:31:07 +00:00
2003-03-09 20:10:25 +00:00
2004-02-03 21:59:27 +00:00
2004-03-15 15:50:20 +00:00
2004-03-15 15:50:20 +00:00
2004-02-17 20:03:01 +00:00
2004-02-09 04:04:24 +00:00
2003-12-23 16:26:31 +00:00
2004-02-12 03:01:58 +00:00
2004-03-04 21:04:14 +00:00
2004-03-04 21:04:14 +00:00
2004-01-19 05:46:54 +00:00
2004-01-19 05:46:54 +00:00
2004-03-12 03:09:28 +00:00
2003-12-27 01:59:29 +00:00
2003-12-27 01:59:29 +00:00
2004-02-09 04:04:24 +00:00
2003-01-15 10:21:23 +00:00
2004-03-12 22:03:33 +00:00
2003-12-03 05:21:55 +00:00
2004-03-14 18:01:45 +00:00
2004-03-14 18:01:45 +00:00
2004-02-09 04:04:24 +00:00
2004-02-25 10:54:31 +00:00
2003-03-09 22:13:06 +00:00