ardour
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
SoundFileBox Class Reference

#include <sfdb_ui.h>

Inheritance diagram for SoundFileBox:
ARDOUR::SessionHandlePtr PBD::ScopedConnectionList

Public Member Functions

 SoundFileBox (bool persistent)
 
virtual ~SoundFileBox ()
 
void set_session (ARDOUR::Session *s)
 
bool setup_labels (const std::string &filename)
 
void audition ()
 
bool audition_oneshot ()
 
bool autoplay () const
 
void set_src_quality (ARDOUR::SrcQuality q)
 
void set_import_position (Editing::ImportPosition p)
 
- Public Member Functions inherited from ARDOUR::SessionHandlePtr
 SessionHandlePtr (ARDOUR::Session *s)
 
 SessionHandlePtr ()
 
virtual ~SessionHandlePtr ()
 
- Public Member Functions inherited from PBD::ScopedConnectionList
 ScopedConnectionList ()
 
virtual ~ScopedConnectionList ()
 
void add_connection (const UnscopedConnection &c)
 
void drop_connections ()
 

Protected Member Functions

void audition_active (bool)
 
void audition_progress (ARDOUR::framecnt_t, ARDOUR::framecnt_t)
 
bool tags_entry_left (GdkEventFocus *event)
 
void tags_changed ()
 
void save_tags (const std::vector< std::string > &)
 
void stop_audition ()
 
bool seek_button_press (GdkEventButton *)
 
bool seek_button_release (GdkEventButton *)
 
- Protected Member Functions inherited from ARDOUR::SessionHandlePtr
virtual void session_going_away ()
 

Protected Attributes

std::string path
 
ARDOUR::SoundFileInfo sf_info
 
Gtk::Table table
 
Gtk::Label length
 
Gtk::Label format
 
Gtk::Label channels
 
Gtk::Label samplerate
 
Gtk::Label timecode
 
Gtk::Label channels_value
 
Gtk::Label samplerate_value
 
Gtk::Label format_text
 
AudioClock length_clock
 
AudioClock timecode_clock
 
Gtk::Frame border_frame
 
Gtk::Label preview_label
 
Gtk::TextView tags_entry
 
Gtk::VBox main_box
 
Gtk::VBox path_box
 
Gtk::HBox bottom_box
 
Gtk::Button play_btn
 
Gtk::Button stop_btn
 
Gtk::CheckButton autoplay_btn
 
Gtk::Button apply_btn
 
Gtk::HScale seek_slider
 
PBD::ScopedConnectionList auditioner_connections
 
bool _seeking
 
ARDOUR::SrcQuality _src_quality
 
Editing::ImportPosition _import_position
 
- Protected Attributes inherited from ARDOUR::SessionHandlePtr
ARDOUR::Session_session
 
PBD::ScopedConnectionList _session_connections
 

Detailed Description

Definition at line 62 of file sfdb_ui.h.

Constructor & Destructor Documentation

SoundFileBox::SoundFileBox ( bool  persistent)

Definition at line 122 of file sfdb_ui.cc.

virtual SoundFileBox::~SoundFileBox ( )
inlinevirtual

Definition at line 66 of file sfdb_ui.h.

Member Function Documentation

void SoundFileBox::audition ( )

Definition at line 400 of file sfdb_ui.cc.

void SoundFileBox::audition_active ( bool  active)
protected

Definition at line 243 of file sfdb_ui.cc.

bool SoundFileBox::audition_oneshot ( )

Definition at line 393 of file sfdb_ui.cc.

void SoundFileBox::audition_progress ( ARDOUR::framecnt_t  pos,
ARDOUR::framecnt_t  len 
)
protected

Definition at line 252 of file sfdb_ui.cc.

bool SoundFileBox::autoplay ( ) const

Definition at line 387 of file sfdb_ui.cc.

void SoundFileBox::save_tags ( const std::vector< std::string > &  )
protected

Definition at line 538 of file sfdb_ui.cc.

bool SoundFileBox::seek_button_press ( GdkEventButton *  )
protected

Definition at line 260 of file sfdb_ui.cc.

bool SoundFileBox::seek_button_release ( GdkEventButton *  )
protected

Definition at line 266 of file sfdb_ui.cc.

void SoundFileBox::set_import_position ( Editing::ImportPosition  p)
inline

Definition at line 75 of file sfdb_ui.h.

void SoundFileBox::set_session ( ARDOUR::Session s)
virtual

Reimplemented from ARDOUR::SessionHandlePtr.

Definition at line 224 of file sfdb_ui.cc.

void SoundFileBox::set_src_quality ( ARDOUR::SrcQuality  q)
inline

Definition at line 74 of file sfdb_ui.h.

bool SoundFileBox::setup_labels ( const std::string &  filename)

Definition at line 274 of file sfdb_ui.cc.

void SoundFileBox::stop_audition ( )
protected

Definition at line 504 of file sfdb_ui.cc.

void SoundFileBox::tags_changed ( )
protected

Definition at line 519 of file sfdb_ui.cc.

bool SoundFileBox::tags_entry_left ( GdkEventFocus *  event)
protected

Definition at line 512 of file sfdb_ui.cc.

Member Data Documentation

Editing::ImportPosition SoundFileBox::_import_position
protected

Definition at line 124 of file sfdb_ui.h.

bool SoundFileBox::_seeking
protected

Definition at line 122 of file sfdb_ui.h.

ARDOUR::SrcQuality SoundFileBox::_src_quality
protected

Definition at line 123 of file sfdb_ui.h.

Gtk::Button SoundFileBox::apply_btn
protected

Definition at line 109 of file sfdb_ui.h.

PBD::ScopedConnectionList SoundFileBox::auditioner_connections
protected

Definition at line 112 of file sfdb_ui.h.

Gtk::CheckButton SoundFileBox::autoplay_btn
protected

Definition at line 108 of file sfdb_ui.h.

Gtk::Frame SoundFileBox::border_frame
protected

Definition at line 97 of file sfdb_ui.h.

Gtk::HBox SoundFileBox::bottom_box
protected

Definition at line 104 of file sfdb_ui.h.

Gtk::Label SoundFileBox::channels
protected

Definition at line 86 of file sfdb_ui.h.

Gtk::Label SoundFileBox::channels_value
protected

Definition at line 90 of file sfdb_ui.h.

Gtk::Label SoundFileBox::format
protected

Definition at line 85 of file sfdb_ui.h.

Gtk::Label SoundFileBox::format_text
protected

Definition at line 93 of file sfdb_ui.h.

Gtk::Label SoundFileBox::length
protected

Definition at line 84 of file sfdb_ui.h.

AudioClock SoundFileBox::length_clock
protected

Definition at line 94 of file sfdb_ui.h.

Gtk::VBox SoundFileBox::main_box
protected

Definition at line 102 of file sfdb_ui.h.

std::string SoundFileBox::path
protected

Definition at line 78 of file sfdb_ui.h.

Gtk::VBox SoundFileBox::path_box
protected

Definition at line 103 of file sfdb_ui.h.

Gtk::Button SoundFileBox::play_btn
protected

Definition at line 106 of file sfdb_ui.h.

Gtk::Label SoundFileBox::preview_label
protected

Definition at line 98 of file sfdb_ui.h.

Gtk::Label SoundFileBox::samplerate
protected

Definition at line 87 of file sfdb_ui.h.

Gtk::Label SoundFileBox::samplerate_value
protected

Definition at line 91 of file sfdb_ui.h.

Gtk::HScale SoundFileBox::seek_slider
protected

Definition at line 110 of file sfdb_ui.h.

ARDOUR::SoundFileInfo SoundFileBox::sf_info
protected

Definition at line 80 of file sfdb_ui.h.

Gtk::Button SoundFileBox::stop_btn
protected

Definition at line 107 of file sfdb_ui.h.

Gtk::Table SoundFileBox::table
protected

Definition at line 82 of file sfdb_ui.h.

Gtk::TextView SoundFileBox::tags_entry
protected

Definition at line 100 of file sfdb_ui.h.

Gtk::Label SoundFileBox::timecode
protected

Definition at line 88 of file sfdb_ui.h.

AudioClock SoundFileBox::timecode_clock
protected

Definition at line 95 of file sfdb_ui.h.


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