Logo Search packages:      
Sourcecode: pwlib version File versions

PSoundChannel * PSoundChannel::CreateChannel ( const PString driverName,
PPluginManager *  pluginMgr = NULL 
) [static]

Create the sound channel that corresponds to the specified driver name.

Parameters:
driverName  Name of driver
pluginMgr  Plug in manager, use default if NULL

Definition at line 120 of file sound.cxx.

Referenced by CreateOpenedChannel(), and Open().

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

  return (PSoundChannel *)pluginMgr->CreatePluginsDevice(driverName, soundPluginBaseClass, 0);
}


Generated by  Doxygen 1.6.0   Back to index