Linux MS DOS discussions
 help / color / mirror / Atom feed
* Sound problem -- truncated play, no record
@ 2004-11-27  4:01 Kevin Schmidt
  0 siblings, 0 replies; 2+ messages in thread
From: Kevin Schmidt @ 2004-11-27  4:01 UTC (permalink / raw)
  To: linux-msdos


I am trying to run a ham radio contest logger, TRlog, under linux with
dosemu  1.2.2.  One of the features of the software is that prerecorded
audio files are played through a soundcard so they can be transmitted
by the radio at various times.

Everything works fine except for this sound support which under DOS is
handled by a TSR program that I wrote. This TSR program emulates an old
piece of hardware by playing or recording sound through a soundblaster
compatible sound card using autoinitiate dma transfers. When playing
back prerecorded audio, all but the last fraction of a second or so of
audio plays.  Recording doesn't work. The recorded files contain 256
0x80 values indicating zero input and the 256 bytes is the size of an
autoinitiate dma transfer. Since I wrote the TSR I can rewrite it if
necessary to work around dosemu problems, (or to fix bugs in my
code) but I need to understand where they are coming from.

The program TRlog is copyrighted and I cannot redistribute it. However,
my TSR is distributed under GPL, and I have written a couple of small
drivers that will record and playback a few seconds of audio through it,
so if anyone else would be willing to look at this, I can send code that
runs under DOS, and demonstrates the problems under dosemu.

Please let me know if you can suggest anything.

Thanks,
Kevin w9cf@ptolemy.la.asu.edu

-- 
Kevin Schmidt, w9cf@ptolemy.la.asu.edu, http://fermi.la.asu.edu/w9cf
Department of Physics and Astronomy
Arizona State University, Tempe, AZ 85287-1504
(480) 965-8240 Fax: (480) 965-7954

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Sound problem -- truncated play, no record
@ 2004-11-27  9:24 Stas Sergeev
  0 siblings, 0 replies; 2+ messages in thread
From: Stas Sergeev @ 2004-11-27  9:24 UTC (permalink / raw)
  To: linux-msdos

Hello.

Kevin Schmidt wrote:
> my TSR is distributed under GPL, and I have written a couple of small
> drivers that will record and playback a few seconds of audio through 
> it, so if anyone else would be willing to look at this, I can send code 
> that runs under DOS, and demonstrates the problems under dosemu.
You can open a bug-report for that
problem and attach your test-case
there. Sound recording was never
tested, but all the code is beleived
to be in place, so it might be not
too difficult to fix.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-11-27  9:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-27  9:24 Sound problem -- truncated play, no record Stas Sergeev
  -- strict thread matches above, loose matches on Subject: below --
2004-11-27  4:01 Kevin Schmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox