foobar2000 SDK
2015-08-03
|
#include <output.h>
Public Types | |
enum | { flag_needs_bitdepth_config = 1 << 0, flag_needs_dither_config = 1 << 1, flag_needs_advanced_config = 1 << 2, flag_needs_device_list_prefixes = 1 << 3 } |
Public Types inherited from service_base | |
typedef service_base | t_interface |
Public Member Functions | |
virtual void | advanced_settings_popup (HWND p_parent, POINT p_menupoint)=0 |
virtual void | enum_devices (output_device_enum_callback &p_callback)=0 |
virtual t_uint32 | get_config_flags ()=0 |
pfc::string8 | get_device_name (const GUID &deviceID) |
bool | get_device_name (const GUID &deviceID, pfc::string_base &out) |
virtual GUID | get_guid ()=0 |
virtual const char * | get_name ()=0 |
virtual void | instantiate (service_ptr_t< output > &p_out, const GUID &p_device, double p_buffer_length, bool p_dither, t_uint32 p_bitdepth)=0 |
Public Member Functions inherited from service_base | |
template<typename outPtr_t > | |
bool | cast (outPtr_t &outPtr) |
virtual int | service_add_ref ()=0 throw () |
virtual bool | service_query (service_ptr_t< service_base > &p_out, const GUID &p_guid) |
template<class T > | |
bool | service_query_t (service_ptr_t< T > &p_out) |
virtual int | service_release ()=0 throw () |
Static Public Member Functions | |
static bool | g_find (const GUID &outputID, output_entry::ptr &outObj) |
static output_entry::ptr | g_find (const GUID &outputID) |
Private Member Functions | |
FB2K_MAKE_SERVICE_INTERFACE_ENTRYPOINT (output_entry) | |
Additional Inherited Members | |
Protected Member Functions inherited from service_base | |
service_base () | |
~service_base () | |
anonymous enum |
|
pure virtual |
Pops up advanced settings dialog. This method is optional and not supported if get_config_flag() return value does not have flag_needs_advanced_config set.
p_parent | Parent window for the dialog. |
p_menupoint | Point in screen coordinates - can be used to display a simple popup menu with options to be checked instead of a full dialog. |
Implemented in output_entry_impl_t< T >.
|
pure virtual |
Enumerates devices supported by this output_entry implementation.
Implemented in output_entry_impl_t< T >.
|
private |
|
static |
Definition at line 32 of file output.cpp.
|
static |
Definition at line 42 of file output.cpp.
|
pure virtual |
Implemented in output_entry_impl_t< T >.
pfc::string8 output_entry::get_device_name | ( | const GUID & | deviceID | ) |
Definition at line 3 of file output.cpp.
bool output_entry::get_device_name | ( | const GUID & | deviceID, |
pfc::string_base & | out | ||
) |
Definition at line 26 of file output.cpp.
|
pure virtual |
For internal use by backend. Each output_entry implementation must have its own guid.
Implemented in output_entry_impl_t< T >.
|
pure virtual |
For internal use by backend. Retrieves human-readable name of this output_entry implementation.
Implemented in output_entry_impl_t< T >.
|
pure virtual |
Instantiates output class.
Implemented in output_entry_impl_t< T >.