Skip to content

Instantly share code, notes, and snippets.

@ddv2005
Created September 21, 2012 16:50
Show Gist options
  • Save ddv2005/3762600 to your computer and use it in GitHub Desktop.
Save ddv2005/3762600 to your computer and use it in GitHub Desktop.
auddemo log 1
Enter selection: d 10 10
Recording latency=10ms, playback latency=10ms
Enter selection: t 0 0 16000 10 1
Performing test..
open_playback: Open playback device 'plughw:CARD=Set,DEV=0'
open_playback: set format SND_PCM_FORMAT_S16_LE
open_playback: set channels: 1
open_playback: set clock rate: 16000
open_playback: clock rate set to: 16000
open_playback: set period size: 160
open_playback: period size set to: 160
open_playback: buffer size set to: 320
open_playback: playback_latency set to: 20 ms
Opened device alsa(plughw:CARD=Set,DEV=0) for playing, sample rate=16000, ch=1, bits=16, period size=160 frames, latency=20 ms
open_capture: Open capture device 'plughw:CARD=Set,DEV=0'
open_capture: set format SND_PCM_FORMAT_S16_LE
open_capture: set channels: 1
open_capture: set clock rate: 16000
open_capture: clock rate set to: 16000
open_capture: set period size: 160
open_capture: period size set to: 160
open_capture: buffer size set to: 320
open_capture: capture_latency set to: 20 ms
Opened device alsa(plughw:CARD=Set,DEV=0) for capture, sample rate=16000, ch=1, bits=16, period size=160 frames, latency=20 ms
Please wait while test is in progress (~11 secs)..
thread(1783): Set thread priority to 98.
thread(1782): Set thread priority to 97.
pb_thread_func(1782): Started
ca_thread_func(1783): Started
alsa_stream_stop(1778): Waiting for playback to stop.
ca_thread_func: Stopped
pb_thread_func: Stopped
alsa_stream_stop(1778): playback stopped.
alsa_stream_stop(1778): Waiting for capture to stop.
alsa_stream_stop(1778): capture stopped.
Done. Result:
Recording result : interval (min/max/avg/dev)=10/19/11/1, burst=2
Playback result : interval (min/max/avg/dev)=8/12/10/0, burst=2
Clock drifts detected. Capture device is running 1298 samples per second faster than the playback device
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment