Testing for audio playback

Andy Green andy at openmoko.com
Mon Aug 4 20:35:19 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Somebody in the thread at some point said:
| Is that sort of thing in the alsa driver currently? That is relatively
| unknown territory for me. I have poked around /proc and /sys but found
| nothing of use.

I see decent looking stuff if I look at

# cat /proc/asound/neo1973gta02/pcm0p/sub0/status

idle -->

closed

catting /dev/urandom >/dev/dsp  --->

state: RUNNING
trigger_time: 1217825794.241945000
tstamp      : 1217825796.260579000
delay       : 30988
avail       : 1780
avail_max   : 30782
- -----
hw_ptr      : 16167
appl_ptr    : 48935

I guess those numbers change if you are doing something.

- -Andy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkiXS+cACgkQOjLpvpq7dMpOdwCbB1Dz3O0njBugVk7DzHpGj2c/
WdcAoICIaAcGkfSamgFPdNgTFBtyPu9Q
=AQY8
-----END PGP SIGNATURE-----




More information about the community mailing list