I see, thanks for you answer. Sounds promising. I am quite a noob when it comes to programming and such, so all help is appreciated.
To clarify further, what I would like to do:
I would like to either install a second 3.5 inch jack as input, or be able to switch the existing jack from output to input when I need it. Since I do want to output the sound again, after I recorded it I need the output as well.
Would it be possible to make the output an input in pure data?