foobar2000 SDK  2015-01-14
Functions
playable_location.cpp File Reference

Go to the source code of this file.

Functions

pfc::string_baseoperator<< (pfc::string_base &p_fmt, const playable_location &p_location)
 

Function Documentation

pfc::string_base& operator<< ( pfc::string_base p_fmt,
const playable_location p_location 
)

Definition at line 13 of file playable_location.cpp.

14 {
15  p_fmt << "\"" << file_path_display(p_location.get_path()) << "\"";
16  t_uint32 index = p_location.get_subsong_index();
17  if (index != 0) p_fmt << " / index: " << p_location.get_subsong_index();
18  return p_fmt;
19 }
virtual const char * get_path() const =0
t_uint32 get_subsong_index() const
uint32_t t_uint32
Definition: int_types.h:5