Gyannea
February 24th, 2003, 08:24 AM
The single most important aspect of my application is sending and receiving specific sounds over a radio. The tones and their lengths represent data bits, so accuracy is important.
The question is which "interface" is gives superior control and accuracy with minimal overhead, Direct Sound or the Multi Media System?
Receiving (recording) will be continuous from two receivers. Transmission (playback) will be operator initiated, but one initiated, the timing must be accurate.
Receiving cannot be interrupted; thus send/receive full-duplex is necessary.
I would assume that Direct Sound would be more efficient and accurate, but the buffer system seems more indirect than the low level MMI API. My understanding is if you use stereo (I need to use one channel for each receiver) or sampling rates or 16-bit data, all of this goes away from the Direct Sound "default" and introduces overhead. Ihave no idea how efficient the "Capture Sound" functions are. They appear like MFC encapsulations which you know costs.
Given that the health of this application centers on the the sending and receiving of radio audio data (everything else is just framework) these issues are very important.
So which is best?
Direct Sound or MMI?
The question is which "interface" is gives superior control and accuracy with minimal overhead, Direct Sound or the Multi Media System?
Receiving (recording) will be continuous from two receivers. Transmission (playback) will be operator initiated, but one initiated, the timing must be accurate.
Receiving cannot be interrupted; thus send/receive full-duplex is necessary.
I would assume that Direct Sound would be more efficient and accurate, but the buffer system seems more indirect than the low level MMI API. My understanding is if you use stereo (I need to use one channel for each receiver) or sampling rates or 16-bit data, all of this goes away from the Direct Sound "default" and introduces overhead. Ihave no idea how efficient the "Capture Sound" functions are. They appear like MFC encapsulations which you know costs.
Given that the health of this application centers on the the sending and receiving of radio audio data (everything else is just framework) these issues are very important.
So which is best?
Direct Sound or MMI?