DSP Services: Difference between revisions
all functions described (still no parameters for all) |
|||
Line 62: | Line 62: | ||
| 0x00130082 | | 0x00130082 | ||
| FlushDataCache (The buffer must be located in the 0x14000000 region) | | FlushDataCache (The buffer must be located in the 0x14000000 region) | ||
|- | |- | ||
| 0x00140082 | | 0x00140082 | ||
Line 91: | Line 90: | ||
| SetIirFilterEQ. Wrapper for cdc:DSP cmd 3 | | SetIirFilterEQ. Wrapper for cdc:DSP cmd 3 | ||
|- | |- | ||
| | | 0x001D00C0 | ||
| Wrapper for cdc:DSP cmd 4 | | ReadMultiEx_SPI2(unsigned char, unsigned char, unsigned char *, unsigned char) (Wrapper for cdc:DSP cmd 4) | ||
|- | |- | ||
| | | 0x001E00C2 | ||
| Wrapper for cdc:DSP cmd 5 | | WriteMultiEx_SPI2(unsigned char, unsigned char, unsigned char const*, unsigned char) (Wrapper for cdc:DSP cmd 5) | ||
|- | |- | ||
| 0x001F0000 | | 0x001F0000 | ||
| GetHeadphoneStatus. Wrapper for cdc:DSP cmd 6 | | GetHeadphoneStatus(bool *isConnected). Wrapper for cdc:DSP cmd 6 | ||
|- | |- | ||
| | | 0x00200040 | ||
| Wrapper for cdc:DSP cmd 8 | | ForceHeadphoneOut(bool forceout) (Wrapper for cdc:DSP cmd 8) | ||
|- | |- | ||
| 0x00210000 | | 0x00210000 | ||
| GetIsDspOccupied returns a byte (can be 1 or 0) can be set to 1 in LoadComponent | | GetIsDspOccupied(bool *) 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_Services|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. | This is the main service for playing audio. The [[CSND_Services|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. |