Audio output in real time using CUDA

Basically what I am trying to do is to transform my GPU into a DSP to process audio in real time. I tried using PortAudio API, but couldn’t make it work with CUDA, using nvcc or gcc compiler. Is there anything known that I could use to send the processed data into the audio output buffer ?