Sound recording problem on Beagleboard C3

Ubuntu 10.04 LTS installed.
I can play a wav file.
Recording a wav file seems ok, but on playback I get an initial short burst of sound then a short pause followed by white noise for the rest.
Can someone suggest what's wrong? I have used alsamixer to adjust the adjustable controls to maximum. It's the same problem on both cards.
root@beagleboard:~# cat /proc/asound/cards
  0 [omap3beagle ]: twl4030 - omap3beagle
                       omap3beagle (twl4030)
  2 [Aureon51MkII_1 ]: USB-Audio - Aureon5.1MkII
                       TerraTec Aureon5.1MkII at usb-ehci-omap.0-2.2, full speed

root@beagleboard:~# ls -l /dev/snd/*
crw-rw----+ 1 root audio 116, 0 2010-09-09 23:44 /dev/snd/controlC0
crw-rw----+ 1 root audio 116, 64 2010-09-09 23:44 /dev/snd/controlC2
crw-rw----+ 1 root audio 116, 24 2010-09-09 23:44 /dev/snd/pcmC0D0c
crw-rw----+ 1 root audio 116, 16 2010-09-09 23:44 /dev/snd/pcmC0D0p
crw-rw----+ 1 root audio 116, 88 2010-09-09 23:44 /dev/snd/pcmC2D0c
crw-rw----+ 1 root audio 116, 80 2010-09-20 17:25 /dev/snd/pcmC2D0p
crw-rw----+ 1 root audio 116, 33 2010-09-09 23:44 /dev/snd/timer

/dev/snd/by-id:
total 0
lrwxrwxrwx 1 root root 12 2010-09-21 23:49 usb-0ccd_USB_Audio-00 -> ../controlC2

/dev/snd/by-path:
total 0
lrwxrwxrwx 1 root root 12 2010-09-09 23:44 platform-ehci-omap.0-usb-0:2.2:1.0 -> ../controlC2
lrwxrwxrwx 1 root root 12 2010-09-09 23:44 platform-soc-audio -> ../controlC0

root@beagleboard:~# amixer
Simple mixer control 'AVADC Clock Priority',0
   Capabilities: enum
   Items: 'Voice high priority' 'HiFi high priority'
   Item0: 'Voice high priority'
Simple mixer control 'Analog',0
   Capabilities: cvolume penum
   Capture channels: Front Left - Front Right
   Limits: Capture 0 - 5
   Front Left: Capture 5 [100%] [30.00dB]
   Front Right: Capture 5 [100%] [30.00dB]
Simple mixer control 'Analog Left AUXL',0
   Capabilities: cswitch cswitch-joined penum
   Capture channels: Mono
   Mono: Capture [off]
Simple mixer control 'Analog Left Carkit Mic',0
   Capabilities: cswitch cswitch-joined penum
   Capture channels: Mono
   Mono: Capture [off]
Simple mixer control 'Analog Left Headset Mic',0
   Capabilities: cswitch cswitch-joined penum
   Capture channels: Mono
   Mono: Capture [on]
Simple mixer control 'Analog Left Main Mic',0
   Capabilities: cswitch cswitch-joined penum
   Capture channels: Mono
   Mono: Capture [off]
Simple mixer control 'Analog Right AUXR',0
   Capabilities: cswitch cswitch-joined penum
   Capture channels: Mono
   Mono: Capture [off]
Simple mixer control 'Analog Right Sub Mic',0
   Capabilities: cswitch cswitch-joined penum
   Capture channels: Mono
   Mono: Capture [off]
Simple mixer control 'Carkit',0
   Capabilities: pvolume penum
   Playback channels: Front Left - Front Right
   Limits: Playback 0 - 3
   Mono:
   Front Left: Playback 3 [100%] [6.00dB]
   Front Right: Playback 3 [100%] [6.00dB]
Simple mixer control 'CarkitL Mixer AudioL1',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
Simple mixer control 'CarkitL Mixer AudioL2',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
Simple mixer control 'CarkitL Mixer Voice',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
Simple mixer control 'CarkitR Mixer AudioR1',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
Simple mixer control 'CarkitR Mixer AudioR2',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
Simple mixer control 'CarkitR Mixer Voice',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
Simple mixer control 'Codec Operation Mode',0
   Capabilities: enum
   Items: 'Option 2 (voice/audio)' 'Option 1 (audio)'
   Item0: 'Option 2 (voice/audio)'
Simple mixer control 'DAC Voice Analog Downlink',0
   Capabilities: volume volume-joined pswitch pswitch-joined penum
   Playback channels: Mono
   Capture channels: Mono
   Limits: 0 - 18
   Mono: 18 [100%] [12.00dB] Playback [on]
Simple mixer control 'DAC Voice Digital Downlink',0
   Capabilities: volume volume-joined penum
   Playback channels: Mono
   Capture channels: Mono
   Limits: 0 - 49
   Mono: 49 [100%] [12.00dB]
Simple mixer control 'DAC1 Analog',0
   Capabilities: pvolume pswitch penum
   Playback channels: Front Left - Front Right
   Limits: Playback 0 - 18
   Mono:
   Front Left: Playback 18 [100%] [12.00dB] [on]
   Front Right: Playback 18 [100%] [12.00dB] [on]
Simple mixer control 'DAC1 Digital Coarse',0
   Capabilities: pvolume penum
   Playback channels: Front Left - Front Right
   Limits: Playback 0 - 2
   Mono:
   Front Left: Playback 2 [100%] [12.00dB]
   Front Right: Playback 2 [100%] [12.00dB]
Simple mixer control 'DAC1 Digital Fine',0
   Capabilities: pvolume penum
   Playback channels: Front Left - Front Right
   Limits: Playback 0 - 63
   Mono:
   Front Left: Playback 63 [100%] [0.00dB]
   Front Right: Playback 63 [100%] [0.00dB]
Simple mixer control 'DAC2 Analog',0
   Capabilities: pvolume pswitch penum
   Playback channels: Front Left - Front Right
   Limits: Playback 0 - 18
   Mono:
   Front Left: Playback 18 [100%] [12.00dB] [on]
   Front Right: Playback 18 [100%] [12.00dB] [on]
Simple mixer control 'DAC2 Digital Coarse',0
   Capabilities: pvolume penum
   Playback channels: Front Left - Front Right
   Limits: Playback 0 - 2
   Mono:
   Front Left: Playback 2 [100%] [12.00dB]
   Front Right: Playback 2 [100%] [12.00dB]
Simple mixer control 'DAC2 Digital Fine',0
   Capabilities: pvolume penum
   Playback channels: Front Left - Front Right
   Limits: Playback 0 - 63
   Mono:
   Front Left: Playback 63 [100%] [0.00dB]
   Front Right: Playback 63 [100%] [0.00dB]
Simple mixer control 'Earpiece',0
   Capabilities: pvolume pvolume-joined penum
   Playback channels: Mono
   Limits: Playback 0 - 3
   Mono: Playback 3 [100%] [12.00dB]
Simple mixer control 'Earpiece Mixer AudioL1',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
Simple mixer control 'Earpiece Mixer AudioL2',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
Simple mixer control 'Earpiece Mixer AudioR1',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
Simple mixer control 'Earpiece Mixer Voice',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
Simple mixer control 'HS ramp delay',0
   Capabilities: enum
   Items: '27/20/14 ms' '55/40/27 ms' '109/81/55 ms' '218/161/109 ms' '437/323/218 ms' '874/645/437 ms' '1748/1291/874 ms' '3495/2581/1748 ms'
   Item0: '27/20/14 ms'
Simple mixer control 'HandsfreeL',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
Simple mixer control 'HandsfreeL Mux',0
   Capabilities: enum
   Items: 'Voice' 'AudioL1' 'AudioL2' 'AudioR2'
   Item0: 'Voice'
Simple mixer control 'HandsfreeR',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
Simple mixer control 'HandsfreeR Mux',0
   Capabilities: enum
   Items: 'Voice' 'AudioR1' 'AudioR2' 'AudioL2'
   Item0: 'Voice'
Simple mixer control 'Headset',0
   Capabilities: pvolume penum
   Playback channels: Front Left - Front Right
   Limits: Playback 0 - 3
   Mono:
   Front Left: Playback 3 [100%] [6.00dB]
   Front Right: Playback 3 [100%] [6.00dB]
Simple mixer control 'HeadsetL Mixer AudioL1',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
Simple mixer control 'HeadsetL Mixer AudioL2',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
Simple mixer control 'HeadsetL Mixer Voice',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
Simple mixer control 'HeadsetR Mixer AudioR1',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
Simple mixer control 'HeadsetR Mixer AudioR2',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
Simple mixer control 'HeadsetR Mixer Voice',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
Simple mixer control 'Left Digital Loopback',0
   Capabilities: volume volume-joined penum
   Playback channels: Mono
   Capture channels: Mono
   Limits: 0 - 7
   Mono: 0 [0%] [-99999.99dB]
Simple mixer control 'Left1 Analog Loopback',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
Simple mixer control 'Left2 Analog Loopback',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
Simple mixer control 'PreDriv',0
   Capabilities: pvolume penum
   Playback channels: Front Left - Front Right
   Limits: Playback 0 - 3
   Mono:
   Front Left: Playback 3 [100%] [6.00dB]
   Front Right: Playback 3 [100%] [6.00dB]
Simple mixer control 'PredriveL Mixer AudioL1',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
Simple mixer control 'PredriveL Mixer AudioL2',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
Simple mixer control 'PredriveL Mixer AudioR2',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
Simple mixer control 'PredriveL Mixer Voice',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
Simple mixer control 'PredriveR Mixer AudioL2',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
Simple mixer control 'PredriveR Mixer AudioR1',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
Simple mixer control 'PredriveR Mixer AudioR2',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
Simple mixer control 'PredriveR Mixer Voice',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
Simple mixer control 'Right Digital Loopback',0
   Capabilities: volume volume-joined penum
   Playback channels: Mono
   Capture channels: Mono
   Limits: 0 - 7
   Mono: 0 [0%] [-99999.99dB]
Simple mixer control 'Right1 Analog Loopback',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
Simple mixer control 'Right2 Analog Loopback',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
Simple mixer control 'TX1',0
   Capabilities: cenum
   Items: 'Analog' 'Digimic0'
   Item0: 'Analog'
Simple mixer control 'TX1 Digital',0
   Capabilities: cvolume penum
   Capture channels: Front Left - Front Right
   Limits: Capture 0 - 31
   Front Left: Capture 31 [100%] [31.00dB]
   Front Right: Capture 31 [100%] [31.00dB]
Simple mixer control 'TX2',0
   Capabilities: cenum
   Items: 'Analog' 'Digimic1'
   Item0: 'Analog'
Simple mixer control 'TX2 Digital',0
   Capabilities: cvolume penum
   Capture channels: Front Left - Front Right
   Limits: Capture 0 - 31
   Front Left: Capture 0 [0%] [0.00dB]
   Front Right: Capture 0 [0%] [0.00dB]
Simple mixer control 'Vibra',0
   Capabilities: enum
   Items: 'Local vibrator' 'Audio'
   Item0: 'Local vibrator'
Simple mixer control 'Vibra H-bridge direction',0
   Capabilities: enum
   Items: 'Positive polarity' 'Negative polarity'
   Item0: 'Positive polarity'
Simple mixer control 'Vibra H-bridge mode',0
   Capabilities: enum
   Items: 'Vibra H-bridge direction' 'Audio data MSB'
   Item0: 'Vibra H-bridge direction'
Simple mixer control 'Vibra Mux',0
   Capabilities: enum
   Items: 'AudioL1' 'AudioR1' 'AudioL2' 'AudioR2'
   Item0: 'AudioL1'
Simple mixer control 'Voice Analog Loopback',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
Simple mixer control 'Voice Digital Loopback',0
   Capabilities: volume volume-joined penum
   Playback channels: Mono
   Capture channels: Mono
   Limits: 0 - 41
   Mono: 0 [0%] [-99999.99dB]
root@beagleboard:~#

root@beagleboard:~# cat /proc/asound/pcm
00-00: TWL4030 twl4030-0 : : playback 1 : capture 1
02-00: USB Audio : USB Audio : playback 1 : capture 1

All the controls that are at "0" were not adjustable.
Regards
Sid.