foobar2000 SDK  2015-08-03
Public Member Functions
resampler_entry_impl_t< T >

#include <resampler.h>

+ Inheritance diagram for resampler_entry_impl_t< T >:

Public Member Functions

bool create_preset (dsp_preset &p_out, unsigned p_target_srate, float p_qualityscale)
 
float get_priority ()
 
bool is_conversion_supported (unsigned p_srate_from, unsigned p_srate_to)
 
- Public Member Functions inherited from dsp_entry_impl_t< T, resampler_entry >
bool get_default_preset (dsp_preset &p_out)
 
GUID get_guid ()
 
void get_name (pfc::string_base &p_out)
 
bool have_config_popup ()
 
bool instantiate (service_ptr_t< dsp > &p_out, const dsp_preset &p_preset)
 
bool show_config_popup (dsp_preset &p_data, HWND p_parent)
 
- Public Member Functions inherited from resampler_entry
 FB2K_MAKE_SERVICE_INTERFACE (resampler_entry, dsp_entry)
 
- Public Member Functions inherited from dsp_entry
 FB2K_MAKE_SERVICE_INTERFACE_ENTRYPOINT (dsp_entry)
 
- 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 ()
 

Additional Inherited Members

- Public Types inherited from service_base
typedef service_base t_interface
 
- Static Public Member Functions inherited from resampler_entry
static bool g_create (service_ptr_t< dsp > &p_out, unsigned p_srate_from, unsigned p_srate_to, float p_qualityscale)
 
static bool g_create_preset (dsp_preset &p_out, unsigned p_srate_from, unsigned p_srate_to, float p_qualityscale)
 
static bool g_get_interface (service_ptr_t< resampler_entry > &p_out, unsigned p_srate_from, unsigned p_srate_to)
 
- Static Public Member Functions inherited from dsp_entry
static bool g_dsp_exists (const GUID &p_guid)
 
static bool g_get_default_preset (dsp_preset &p_out, const GUID &p_guid)
 
static bool g_get_interface (service_ptr_t< dsp_entry > &p_out, const GUID &p_guid)
 
static bool g_have_config_popup (const GUID &p_guid)
 
static bool g_have_config_popup (const dsp_preset &p_preset)
 
static bool g_instantiate (service_ptr_t< dsp > &p_out, const dsp_preset &p_preset)
 
static bool g_instantiate_default (service_ptr_t< dsp > &p_out, const GUID &p_guid)
 
static bool g_name_from_guid (pfc::string_base &p_out, const GUID &p_guid)
 
static bool g_show_config_popup (dsp_preset &p_preset, HWND p_parent)
 
static void g_show_config_popup_v2 (const dsp_preset &p_preset, HWND p_parent, dsp_preset_edit_callback &p_callback)
 
- Protected Member Functions inherited from service_base
 service_base ()
 
 ~service_base ()
 

Detailed Description

template<typename T>
class resampler_entry_impl_t< T >

Definition at line 16 of file resampler.h.

Member Function Documentation

template<typename T >
bool resampler_entry_impl_t< T >::create_preset ( dsp_preset p_out,
unsigned  p_target_srate,
float  p_qualityscale 
)
inlinevirtual

Implements resampler_entry.

Definition at line 20 of file resampler.h.

20 {return T::g_create_preset(p_out,p_target_srate,p_qualityscale);}
template<typename T >
float resampler_entry_impl_t< T >::get_priority ( )
inlinevirtual

Implements resampler_entry.

Definition at line 21 of file resampler.h.

21 {return T::g_get_priority();}
template<typename T >
bool resampler_entry_impl_t< T >::is_conversion_supported ( unsigned  p_srate_from,
unsigned  p_srate_to 
)
inlinevirtual

Implements resampler_entry.

Definition at line 19 of file resampler.h.

19 {return T::g_is_conversion_supported(p_srate_from,p_srate_to);}

The documentation for this class was generated from the following file: