get_media_devices: add a function to provide an audio output device
authorMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 23 May 2011 09:43:01 +0000 (06:43 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 23 May 2011 09:49:33 +0000 (06:49 -0300)
commit9f3d358be1fa6990c58e06e0c0a9d4141ba6d44a
tree6d4317161b10ad7bcab2e81e28ee9284bda9363b
parenta2c518ae35c19b57cf63ef0fc7abfc5c756f9bde
get_media_devices: add a function to provide an audio output device

Provide the first audio output device not related to a v4l device, assuming
that the sound card is a different device. If none found, just get any
output device, even it inside the same board that provides video4linux
interface.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
utils/libv4l2util/get_media_devices.c
utils/libv4l2util/get_media_devices.h
utils/v4l2-sysfs-path/v4l2-sysfs-path.c