I've been following these instructions for recording the output of a program I wrote (that uses rtaudio to synthesize music) http://jordilin.wordpress.com/2006/07/28/howto-recording-audio-from-the-command-line/
However, when I try to use arecord I just record the microphone, not the output of my program.
Using arecord -l to list capture devices I see :
**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC269VB Analog [ALC269VB Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
Does this look like it's giving me the option to record the output of another program? And if so, how do I do that?