#include "os_factory.hpp"
#include "os_graphics.hpp"
#include "var_manager.hpp"
+#include "anchor.hpp"
#include "../controls/ctrl_generic.hpp"
#include "../controls/ctrl_video.hpp"
#include "../utils/var_bool.hpp"
{
delete m_pImage;
}
+ list<Anchor*>::const_iterator it;
+ for( it = m_anchorList.begin(); it != m_anchorList.end(); it++ )
+ {
+ delete *it;
+ }
}
ss << " " << val;
}
+
+ string bands = ss.str();
aout_instance_t *pAout = (aout_instance_t *)vlc_object_find( getIntf(),
VLC_OBJECT_AOUT, FIND_ANYWHERE );
- char *bands = (char*)ss.str().c_str();
- config_PutPsz( getIntf(), "equalizer-bands", bands );
+ config_PutPsz( getIntf(), "equalizer-bands", bands.c_str() );
if( pAout )
{
// Update the audio output
- var_SetString( pAout, "equalizer-bands", bands );
+ var_SetString( pAout, "equalizer-bands", (char*)bands.c_str() );
vlc_object_release( pAout );
}
}