Difference between revisions of "DSP Services"
Jump to navigation
Jump to search
m (add some requests) |
|||
Line 86: | Line 86: | ||
|- | |- | ||
| 0x001B0042 | | 0x001B0042 | ||
− | | | + | | SetIirFilterI2S2. Wrapper for cdc:DSP cmd 2 |
|- | |- | ||
| 0x001C0082 | | 0x001C0082 |
Revision as of 10:37, 18 June 2015
DSP service "dsp::DSP"
Command Header | Description | |
---|---|---|
0x00010040 | RecvData(chan 0-3) | |
0x00020040 | RecvDataIsReady(chan 0-3) | |
0x00030080 | SendData(chan 0-3) | |
0x00040040 | SendDataIsEmpty(chan 0-3) | |
0x000500C2 | SendFifoEx(unsigned short, unsigned short const*, unsigned int, unsigned int) | |
0x000600C0 | RecvFifoEx(unsigned short *, unsigned short, unsigned int, unsigned int) | |
0x00070040 | WriteReg0x10 SetSemaphore | |
0x00080000 | GetSemaphore(unsigned short * pMask) | |
0x00090040 | ClearSemaphore(unsigned short mask) | |
0x000A0040 | MaskSemaphore(unsigned short mask) | |
0x000B0000 | CheckSemaphoreRequest(bool * pIsRequested ) | |
0x000C0040 | ConvertProcessAddressFromDspDram | |
0x000D0082 | WriteProcessPipe | |
0x000E00C0 | ReadPipe(int, int, unsigned char *, unsigned short) | |
0x000F0080 | GetPipeReadableSize(int, int, unsigned short *) | |
0x001000C0 | ReadPipeIfPossible | |
0x001100C2 | LoadComponent. This requires RSA-signed DSP firmware specified via the input buffer for this command, the firmware data is eventually written to DSPmem+0(0x1FF00000). | |
0x00120000 | UnloadComponent | |
0x00130082 | FlushDataCache (The buffer must be located in the 0x14000000 region) | |
0x00140082 | InvalidateDCache (The buffer must be located in either the 0x14000000 region, or the DSP memory region) | |
0x00150082 | RegisterInterruptEvents(param0, param1, 0, eventhandle) | |
0x00160000 | GetSemaphoreEventHandle | |
0x00170040 | SetSemaphoreMask | |
0x00180040 | GetPhysicalAddress (0x14000000+ -> 0x20000000+, 0x1FF00000+ -> 0x1FF00000+, 0x08000000-0x0E000000 -> 0x00000000+, 0 otherwise) | |
0x00190040 | GetVirtualAddress (0x20000000+ -> 0x14000000+, 0x1FF00000+ -> 0x1FF00000+, 0 otherwise) | |
0x001A0042 | SetIirFilterI2S1. Wrapper for cdc:DSP cmd 1 | |
0x001B0042 | SetIirFilterI2S2. Wrapper for cdc:DSP cmd 2 | |
0x001C0082 | SetIirFilterEQ. Wrapper for cdc:DSP cmd 3 | |
0x001D.... | Wrapper for cdc:DSP cmd 4 | |
0x001E.... | Wrapper for cdc:DSP cmd 5 | |
0x001F0000 | GetHeadphoneStatus. Wrapper for cdc:DSP cmd 6 | |
0x0020.... | Wrapper for cdc:DSP cmd 8 | |
0x00210000 | GetIsDspOccupied returns a byte (can be 1 or 0) can be set to 1 in LoadComponent |
This is the main service for playing audio. The CSND service can be used for playing audio as well, however most processes use this DSP service for playing audio. The DSP and CSND hardware can play audio simultaneously.