ardour
Public Member Functions | Public Attributes | Protected Member Functions | Private Types | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
SoundFileOmega Class Reference

#include <sfdb_ui.h>

Inheritance diagram for SoundFileOmega:
SoundFileBrowser ArdourWindow ARDOUR::SessionHandlePtr Gtkmm2ext::VisibilityTracker

Public Member Functions

 SoundFileOmega (std::string title, ARDOUR::Session *_s, uint32_t selected_audio_tracks, uint32_t selected_midi_tracks, bool persistent, Editing::ImportMode mode_hint=Editing::ImportAsTrack)
 
void reset (uint32_t selected_audio_tracks, uint32_t selected_midi_tracks)
 
void set_mode (Editing::ImportMode)
 
Editing::ImportMode get_mode () const
 
Editing::ImportPosition get_position () const
 
Editing::ImportDisposition get_channel_disposition () const
 
ARDOUR::SrcQuality get_src_quality () const
 
- Public Member Functions inherited from SoundFileBrowser
 SoundFileBrowser (std::string title, ARDOUR::Session *_s, bool persistent)
 
virtual ~SoundFileBrowser ()
 
int run ()
 
int status () const
 
virtual void set_session (ARDOUR::Session *)
 
std::vector< std::string > get_paths ()
 
void clear_selection ()
 
void freesound_search ()
 
void refresh_display (std::string ID, std::string file)
 
- Public Member Functions inherited from ArdourWindow
 ArdourWindow (std::string title)
 
 ArdourWindow (Gtk::Window &parent, std::string title)
 
 ~ArdourWindow ()
 
bool on_focus_in_event (GdkEventFocus *)
 
bool on_focus_out_event (GdkEventFocus *)
 
bool on_delete_event (GdkEventAny *)
 
bool on_key_press_event (GdkEventKey *)
 
void on_unmap ()
 
- Public Member Functions inherited from ARDOUR::SessionHandlePtr
 SessionHandlePtr (ARDOUR::Session *s)
 
 SessionHandlePtr ()
 
virtual ~SessionHandlePtr ()
 
- Public Member Functions inherited from Gtkmm2ext::VisibilityTracker
 VisibilityTracker (Gtk::Window &)
 
virtual ~VisibilityTracker ()
 
void cycle_visibility ()
 
bool fully_visible () const
 
bool not_visible () const
 
bool partially_visible () const
 
Gtk::Window & window () const
 

Public Attributes

Gtk::ComboBoxText action_combo
 
Gtk::ComboBoxText where_combo
 
Gtk::ComboBoxText channel_combo
 
Gtk::ComboBoxText src_combo
 
InstrumentSelector instrument_combo
 
Gtk::CheckButton copy_files_btn
 
- Public Attributes inherited from SoundFileBrowser
Gtk::FileChooserWidget chooser
 
SoundFileBox preview
 
Gtk::Entry found_entry
 
Gtk::Button found_search_btn
 
Gtk::TreeView found_list_view
 
Gtk::Entry freesound_entry
 
Gtk::ComboBoxText freesound_sort
 
Gtk::Button freesound_search_btn
 
Gtk::TreeView freesound_list_view
 
Gtk::Notebook notebook
 

Protected Member Functions

void on_hide ()
 
- Protected Member Functions inherited from SoundFileBrowser
void add_gain_meter ()
 
void remove_gain_meter ()
 
void meter ()
 
void start_metering ()
 
void stop_metering ()
 
void update_preview ()
 
void found_list_view_selected ()
 
void found_list_view_activated (const Gtk::TreeModel::Path &path, Gtk::TreeViewColumn *)
 
void found_search_clicked ()
 
void freesound_list_view_selected ()
 
void freesound_list_view_activated (const Gtk::TreeModel::Path &path, Gtk::TreeViewColumn *)
 
void freesound_search_clicked ()
 
void freesound_more_clicked ()
 
void freesound_similar_clicked ()
 
void chooser_file_activated ()
 
std::string freesound_get_audio_file (Gtk::TreeIter iter)
 
bool on_audio_filter (const Gtk::FileFilter::Info &filter_info)
 
bool on_midi_filter (const Gtk::FileFilter::Info &filter_info)
 
bool on_audio_and_midi_filter (const Gtk::FileFilter::Info &filter_info)
 
void set_action_sensitive (bool)
 
void on_show ()
 
- Protected Member Functions inherited from ARDOUR::SessionHandlePtr
virtual void session_going_away ()
 

Private Types

typedef std::map< std::string,
Editing::ImportDisposition
DispositionMap
 

Private Member Functions

bool check_info (const std::vector< std::string > &paths, bool &same_size, bool &src_needed, bool &multichannel)
 
void file_selection_changed ()
 
bool reset_options ()
 
void reset_options_noret ()
 
bool bad_file_message ()
 
void src_combo_changed ()
 
void where_combo_changed ()
 
void do_something (int action)
 

Static Private Member Functions

static bool check_link_status (const ARDOUR::Session *, const std::vector< std::string > &paths)
 

Private Attributes

uint32_t selected_audio_track_cnt
 
uint32_t selected_midi_track_cnt
 
DispositionMap disposition_map
 
Gtk::HBox options
 
Gtk::VBox block_two
 
Gtk::VBox block_three
 
Gtk::VBox block_four
 

Additional Inherited Members

- Protected Attributes inherited from SoundFileBrowser
bool resetting_ourselves
 
int matches
 
int _status
 
bool _done
 
Gtk::FileFilter audio_and_midi_filter
 
Gtk::FileFilter audio_filter
 
Gtk::FileFilter midi_filter
 
Gtk::FileFilter custom_filter
 
Gtk::FileFilter matchall_filter
 
Gtk::HBox hpacker
 
Gtk::VBox vpacker
 
Gtk::Button ok_button
 
Gtk::Button cancel_button
 
Gtk::Button apply_button
 
GainMetergm
 
Gtk::VBox meter_packer
 
sigc::connection metering_connection
 
int freesound_page
 
- Protected Attributes inherited from ARDOUR::SessionHandlePtr
ARDOUR::Session_session
 
PBD::ScopedConnectionList _session_connections
 
- Static Protected Attributes inherited from SoundFileBrowser
static std::string persistent_folder
 

Detailed Description

Definition at line 273 of file sfdb_ui.h.

Member Typedef Documentation

typedef std::map<std::string,Editing::ImportDisposition> SoundFileOmega::DispositionMap
private

Definition at line 305 of file sfdb_ui.h.

Constructor & Destructor Documentation

SoundFileOmega::SoundFileOmega ( std::string  title,
ARDOUR::Session _s,
uint32_t  selected_audio_tracks,
uint32_t  selected_midi_tracks,
bool  persistent,
Editing::ImportMode  mode_hint = Editing::ImportAsTrack 
)

Definition at line 1659 of file sfdb_ui.cc.

Member Function Documentation

bool SoundFileOmega::bad_file_message ( )
private

Definition at line 1518 of file sfdb_ui.cc.

bool SoundFileOmega::check_info ( const std::vector< std::string > &  paths,
bool &  same_size,
bool &  src_needed,
bool &  multichannel 
)
private

Definition at line 1534 of file sfdb_ui.cc.

bool SoundFileOmega::check_link_status ( const ARDOUR::Session ,
const std::vector< std::string > &  paths 
)
staticprivate

Definition at line 1585 of file sfdb_ui.cc.

void SoundFileOmega::do_something ( int  action)
privatevirtual

Reimplemented from SoundFileBrowser.

Definition at line 1955 of file sfdb_ui.cc.

void SoundFileOmega::file_selection_changed ( )
private

Definition at line 1937 of file sfdb_ui.cc.

ImportDisposition SoundFileOmega::get_channel_disposition ( ) const

Definition at line 1901 of file sfdb_ui.cc.

ImportMode SoundFileOmega::get_mode ( ) const

Definition at line 1840 of file sfdb_ui.cc.

ImportPosition SoundFileOmega::get_position ( ) const

Definition at line 1855 of file sfdb_ui.cc.

SrcQuality SoundFileOmega::get_src_quality ( ) const

Definition at line 1871 of file sfdb_ui.cc.

void SoundFileOmega::on_hide ( )
protected

Definition at line 1846 of file sfdb_ui.cc.

void SoundFileOmega::reset ( uint32_t  selected_audio_tracks,
uint32_t  selected_midi_tracks 
)

Definition at line 1920 of file sfdb_ui.cc.

bool SoundFileOmega::reset_options ( )
privatevirtual

Reimplemented from SoundFileBrowser.

Definition at line 1295 of file sfdb_ui.cc.

void SoundFileOmega::reset_options_noret ( )
private

Definition at line 1287 of file sfdb_ui.cc.

void SoundFileOmega::set_mode ( Editing::ImportMode  mode)

Definition at line 1834 of file sfdb_ui.cc.

void SoundFileOmega::src_combo_changed ( )
private

Definition at line 1889 of file sfdb_ui.cc.

void SoundFileOmega::where_combo_changed ( )
private

Definition at line 1895 of file sfdb_ui.cc.

Member Data Documentation

Gtk::ComboBoxText SoundFileOmega::action_combo

Definition at line 284 of file sfdb_ui.h.

Gtk::VBox SoundFileOmega::block_four
private

Definition at line 311 of file sfdb_ui.h.

Gtk::VBox SoundFileOmega::block_three
private

Definition at line 310 of file sfdb_ui.h.

Gtk::VBox SoundFileOmega::block_two
private

Definition at line 309 of file sfdb_ui.h.

Gtk::ComboBoxText SoundFileOmega::channel_combo

Definition at line 286 of file sfdb_ui.h.

Gtk::CheckButton SoundFileOmega::copy_files_btn

Definition at line 290 of file sfdb_ui.h.

DispositionMap SoundFileOmega::disposition_map
private

Definition at line 306 of file sfdb_ui.h.

InstrumentSelector SoundFileOmega::instrument_combo

Definition at line 288 of file sfdb_ui.h.

Gtk::HBox SoundFileOmega::options
private

Definition at line 308 of file sfdb_ui.h.

uint32_t SoundFileOmega::selected_audio_track_cnt
private

Definition at line 302 of file sfdb_ui.h.

uint32_t SoundFileOmega::selected_midi_track_cnt
private

Definition at line 303 of file sfdb_ui.h.

Gtk::ComboBoxText SoundFileOmega::src_combo

Definition at line 287 of file sfdb_ui.h.

Gtk::ComboBoxText SoundFileOmega::where_combo

Definition at line 285 of file sfdb_ui.h.


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