Logo Search packages:      
Sourcecode: pwlib version File versions

PString PVideoChannel::GetDefaultDevice ( Directions  dir  )  [static]

Get the name for the default video devices/driver that is on this platform. Note that a named device may not necessarily do both playing and recording so the arrays returned with the dir# parameter in each value is not necessarily the same.

A platform dependent string for the video player/recorder.

Definition at line 127 of file pvidchan.cxx.

#if defined(P_FREEBSD) || defined(P_OPENBSD)  || defined(P_NETBSD)
  return "/dev/bktr0";

     return "/dev/video0";

Generated by  Doxygen 1.6.0   Back to index