| ampage Tube Amps / Music Electronics |
For current discussions, please visit Music Electronics Forum. |
| previous: Kursad [QUOTE]But I have a problem with th... -- 7/18/2003 7:45 PM |
| stephen conner | Re: not DSP chip but machine code is...
Sort of... The process that feeds data to the A/D and D/A converters has to be able to interrupt any other process, and no other process should be able to interrupt it, ie it has to have the highest priority. Otherwise the A/D and D/A buffers might underrun, which isn't cool Unfortunately, the process doing the interrupting is responsible for the context switching overhead. (The other process can't help unless it can see the future and tell when it's going to be interrupted.) I guess that's true even if both processes are in C. The context switching code is generated automatically by the compiler, but it's still there | |
|---|---|---|