Re: [GnomeMeeting-devel-list] [BETA7] the "I'm in a real hurry" release



Le mar 12/08/2003 à 12:14, PUYDT Julien a écrit :
> * add an API for programs, so that they can get the list of plugins (for
> video/audio input/output), with a nice descriptive name (problem:
> i18n?);

An API like:
PStringList GetSoundPluginNames(Direction);
PStringList GetVideoPluginNames(Direction);

would allow gm to:
* sound_driver_list =
PDeviceManager::GetPluginNames(PDeviceManager::Both);
* put it in the gui to let the user choose a PString sound_driver_name;
* once the user has chosen, update the device list:
PSoundChannel *sound_driver =
PDeviceManager::GetSoundDevice(sound_driver_name, PDeviceManager::Both);
if(sound_driver != NULL)
{
  PStringList sound_devices_list =
sound_driver->GetDeviceNames(PSoundChannel::Recorder); // or ::Player
 ... // let the user choose the one wanted, and use it...
}
else
{// problem }


Snark




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]