Mike Chambers
Veteran Member
- Joined
- Sep 2, 2006
- Messages
- 2,655
Hi all,
Am I correct in believing that the only way to get full duplex audio on an old school SB/SBPro type card is to use programmed IO on a timer interrupt? I can't see any way to get around that with a single DMA channel, but I know we have some code wizards on this forum that may have some tricks up their sleeves.
I've been building a SIP+RTP softphone for DOS with MTCP, and the timer interrupting at 8 KHz doesn't leave a lot of head room on an XT! If PIO is the only way, the ISR is going to have to be extremely tight and I will probably have to cut the sample rate down to 4 or even 2 KHz for slower machines.
Not that the world needs an XT compatible softphone. Just having a bit of fun while learning the guts of SIP and RTP.
Am I correct in believing that the only way to get full duplex audio on an old school SB/SBPro type card is to use programmed IO on a timer interrupt? I can't see any way to get around that with a single DMA channel, but I know we have some code wizards on this forum that may have some tricks up their sleeves.
I've been building a SIP+RTP softphone for DOS with MTCP, and the timer interrupting at 8 KHz doesn't leave a lot of head room on an XT! If PIO is the only way, the ISR is going to have to be extremely tight and I will probably have to cut the sample rate down to 4 or even 2 KHz for slower machines.
Not that the world needs an XT compatible softphone. Just having a bit of fun while learning the guts of SIP and RTP.
Last edited: