User talk:Speedevil
Some notes on sound.
Edit /etc/asound.conf to add the latter half referring to the real soundcard.
pcm.!default { type pulse hint { description "PulseAudio (default)" } }
ctl.!default { type pulse hint { description "PulseAudio (default)" } }
pcm.real { type hw card 0 }
ctl.real { type hw card 0 }
Play sound through the media player with headphones.
alsactl -f headphonestate store 0
stop media player.
Kill pulseaudio.
stop pulseaudio
Now, you can do
aplay audiodump.wav -D real