foobar2000 SDK  2015-08-03
Public Member Functions
playback_volume_notify

#include <play_callback.h>

+ Inheritance diagram for playback_volume_notify:

Public Member Functions

 playback_volume_notify ()
 
void on_volume_change (float p_new_val)
 

Additional Inherited Members

- Private Types inherited from play_callback
enum  {
  flag_on_playback_starting = 1 << 0, flag_on_playback_new_track = 1 << 1, flag_on_playback_stop = 1 << 2, flag_on_playback_seek = 1 << 3,
  flag_on_playback_pause = 1 << 4, flag_on_playback_edited = 1 << 5, flag_on_playback_dynamic_info = 1 << 6, flag_on_playback_dynamic_info_track = 1 << 7,
  flag_on_playback_time = 1 << 8, flag_on_volume_change = 1 << 9, flag_on_playback_all
}
 
- Private Member Functions inherited from play_callback_impl_base
 play_callback_impl_base (unsigned p_flags=~0)
 
 ~play_callback_impl_base ()
 
void on_playback_dynamic_info (const file_info &p_info)
 
void on_playback_dynamic_info_track (const file_info &p_info)
 
void on_playback_edited (metadb_handle_ptr p_track)
 
void on_playback_new_track (metadb_handle_ptr p_track)
 
void on_playback_pause (bool p_state)
 
void on_playback_seek (double p_time)
 
void on_playback_starting (play_control::t_track_command p_command, bool p_paused)
 
void on_playback_stop (play_control::t_stop_reason p_reason)
 
void on_playback_time (double p_time)
 
void play_callback_reregister (unsigned flags, bool refresh=false)
 
 play_callback ()
 
 ~play_callback ()
 

Detailed Description

Definition at line 151 of file play_callback.h.

Constructor & Destructor Documentation

playback_volume_notify::playback_volume_notify ( )
inline

Member Function Documentation

void playback_volume_notify::on_volume_change ( float  p_new_val)
inlinevirtual

User changed volume settings. Possibly called when not playing.

Parameters
p_new_valnew volume level in dB; 0 for full volume.

Reimplemented from play_callback_impl_base.

Definition at line 155 of file play_callback.h.

155 {}

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