#include <boost/shared_ptr.hpp>
#include <boost/weak_ptr.hpp>
-#include <sigc++/signal.h>
#include <glibmm/ustring.h>
#include "pbd/uuid.h"
typedef std::list<Location *> LocationList;
enum TimeFormat {
- SMPTE,
+ Timecode,
BBT,
MinSec,
Frames,
boost::shared_ptr<Location> selection_range,
boost::shared_ptr<LocationList> ranges) :
timespans (new TimespanList ()),
- time_format (SMPTE),
+ time_format (Timecode),
session_range (session_range),
selection_range (selection_range),
void remove_format_profile (FormatPtr format);
FormatPtr get_new_format (FormatPtr original);
- sigc::signal<void> FormatListChanged;
+ PBD::Signal0<void> FormatListChanged;
private:
ChannelConfigStatePtr channel_config_state,
FormatStatePtr format_state,
FilenameStatePtr filename_state);
+
+ bool check_format (FormatPtr format, uint32_t channels);
+ bool check_sndfile_format (FormatPtr format, unsigned int channels);
/* Utilities */