how record audio output ?

Hello, I want record the audio output that come from a virtual machine under virtualbox.
The right device should be /dev/dsp3.0 but it's busy because obviously is open by virtualbox.
If I poweroff virtualbox the device is free and I can access it.
If I run audacity, I can record the audio output, but the quality is very low...

help would be very appreciated.
 

Example:

Sender: gst-launch-1.0 audiotestsrc ! queue ! audioconvert ! rtpgstpay ! rtpstreampay ! gdppay ! queue ! tcpserversink host=x.x.x.x port=3001

Receiver: gst-launch-1.0 tcpclientsrc host=y.y.y.y port=3001 do-timestamp=true ! queue ! gdpdepay ! rtpstreamdepay ! rtpjitterbuffer mode=0 ! rtpgstdepay ! audioconvert ! queue ! autoaudiosink
 
Back
Top