Logo Search packages:      
Sourcecode: pwlib version File versions

PStringList PSoundChannel::GetDeviceNames ( PSoundChannel::Directions  dir,
PPluginManager *  pluginMgr = NULL 
) [static]

Get the list of all devices name for the default sound 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.

Platform dependent strings for the sound player/recorder.
dir  Direction for device (record or play)
pluginMgr  Plug in manager, use default if NULL

Definition at line 162 of file sound.cxx.

  if (pluginMgr == NULL)
    pluginMgr = &PPluginManager::GetPluginManager();

  return pluginMgr->GetPluginsDeviceNames("*", soundPluginBaseClass, dir);

Generated by  Doxygen 1.6.0   Back to index