Creative SB0350 Hardware Programming Guide - Page 108
Creative SB0350 Manual
View all Creative SB0350 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 108 highlights
DSP Commands 6-23 Bxh Output Remarks Program 16-bit DMA mode digitized sound I/O bCommand, bMode, wLength.LowByte, wLength.HighByte The bCommand byte is organized as: D7 1 D6 0 D5 1 D4 1 D3 A/D 0 = D/A 1 = A/D D2 Auto-Init 0 = SC 1 = AI D1 FIFO 0 = off 1 = on D0 0 where D/A stands for digital-to-analog, A/D for analog-to-digital, SC for single-cycle DMA mode, AI for auto-init DMA mode. FIFO will be re-initialized when the DSP receives any new digitized sound I/O commands. The bMode byte is organized as: D7 0 D6 0 D5 stereo 0 = mono 1 = stereo D4 signed 0 = unsigned 1 = signed D3 0 D2 0 D1 0 D0 0 where the signed bit determines whether the data is signed or unsigned. For minimum signal amplitude, the signed 16-bit value is 0000h; with unsigned data, the equivalent value is 8000h. wLength is a word giving the number of 16-bit samples less 1. Refer to command 1Ch on how to terminate auto-init DMA mode. See Also command D5h, Pause 16-bit DMA mode digitized sound I/O command D6h, Continue 16-bit DMA mode digitized sound I/O command D9h, Exit 16-bit auto-init DMA mode digitized sound I/O 1.xx 2.00 2.01+ 3.xx 4.xx 9 Available