/dports/audio/hydrogen/hydrogen-1.0.1/src/core/src/basics/ |
H A D | drumkit.cpp | 118 doc.read( dk_path ); in load_file() 124 Drumkit* pDrumkit = Legacy::load_drumkit( dk_path ); in load_file() 125 upgrade_drumkit(pDrumkit, dk_path); in load_file() 139 Drumkit* pDrumkit = Drumkit::load_from( &root, dk_path.left( dk_path.lastIndexOf( "/" ) ) ); in load_file() 140 upgrade_drumkit(pDrumkit, dk_path); in load_file() 154 Drumkit* pDrumkit = Drumkit::load_from( &root, dk_path.left( dk_path.lastIndexOf( "/" ) ) ); in load_file() 170 pDrumkit->__path = dk_path; in load_from() 223 Filesystem::file_copy( dk_path, in upgrade_drumkit() 224 dk_path + ".bak", in upgrade_drumkit() 227 pDrumkit->save_file( dk_path, true, -1 ); in upgrade_drumkit() [all …]
|
H A D | instrument_layer.cpp | 84 InstrumentLayer* InstrumentLayer::load_from( XMLNode* node, const QString& dk_path ) in load_from() argument 86 Sample* sample = new Sample( dk_path+"/"+node->read_string( "filename", "" ) ); in load_from()
|
H A D | instrument_component.cpp | 100 InstrumentComponent* InstrumentComponent::load_from( XMLNode* node, const QString& dk_path ) in load_from() argument 116 pInstrumentComponent->set_layer( InstrumentLayer::load_from( &layer_node, dk_path ), n ); in load_from()
|
H A D | instrument_list.cpp | 68 InstrumentList* InstrumentList::load_from( XMLNode* node, const QString& dk_path, const QString& dk… in load_from() argument 79 Instrument* instrument = Instrument::load_from( &instrument_node, dk_path, dk_name ); in load_from()
|
H A D | drumkit_component.cpp | 119 DrumkitComponent* DrumkitComponent::load_from( XMLNode* node, const QString& dk_path ) in load_from() argument
|
H A D | instrument.cpp | 269 Instrument* Instrument::load_from( XMLNode* node, const QString& dk_path, const QString& dk_name ) in load_from() argument 320 …pInstrument->get_components()->push_back( InstrumentComponent::load_from( &ComponentNode, dk_path … in load_from()
|
/dports/audio/hydrogen/hydrogen-1.0.1/src/core/include/hydrogen/basics/ |
H A D | drumkit.h | 97 static Drumkit* load_file( const QString& dk_path, const bool load_samples = false ); 112 static void upgrade_drumkit( Drumkit* pDrumkit, const QString& dk_path ); 120 static bool user_drumkit_exists( const QString& dk_path ); 143 bool save_file( const QString& dk_path, bool overwrite=false, int component_id=-1 ); 249 static Drumkit* load_from( XMLNode* node, const QString& dk_path );
|
H A D | instrument_list.h | 160 static InstrumentList* load_from( XMLNode* node, const QString& dk_path, const QString& dk_name );
|
H A D | instrument_component.h | 49 static InstrumentComponent* load_from( XMLNode* node, const QString& dk_path );
|
H A D | instrument_layer.h | 105 static InstrumentLayer* load_from( XMLNode* node, const QString& dk_path );
|
H A D | drumkit_component.h | 48 static DrumkitComponent* load_from( XMLNode* node, const QString& dk_path );
|
H A D | instrument.h | 123 static Instrument* load_from( XMLNode* node, const QString& dk_path, const QString& dk_name );
|
/dports/audio/hydrogen/hydrogen-1.0.1/src/core/src/helpers/ |
H A D | legacy.cpp | 24 Drumkit* Legacy::load_drumkit( const QString& dk_path ) { in load_drumkit() argument 31 if( !doc.read( dk_path ) ) { in load_drumkit() 45 pDrumkit->set_path( dk_path.left( dk_path.lastIndexOf( "/" ) ) ); in load_drumkit() 116 Sample* pSample = new Sample( dk_path+"/"+sFilename ); in load_drumkit() 161 Sample* pSample = new Sample( dk_path+"/"+layer_node.read_string( "filename", "" ) ); in load_drumkit()
|
H A D | filesystem.cpp | 597 bool Filesystem::drumkit_valid( const QString& dk_path ) in drumkit_valid() argument 599 return file_readable( dk_path + "/" + DRUMKIT_XML, true); in drumkit_valid() 601 QString Filesystem::drumkit_file( const QString& dk_path ) in drumkit_file() argument 603 return dk_path + "/" + DRUMKIT_XML; in drumkit_file()
|
/dports/audio/hydrogen/hydrogen-1.0.1/src/core/include/hydrogen/helpers/ |
H A D | filesystem.h | 158 static bool drumkit_valid( const QString& dk_path ); 163 static QString drumkit_file( const QString& dk_path );
|
H A D | legacy.h | 25 static Drumkit* load_drumkit( const QString& dk_path );
|
/dports/audio/hydrogen/hydrogen-1.0.1/src/tests/ |
H A D | xml_test.cpp | 50 QString dk_path = H2Core::Filesystem::tmp_dir()+"/dk0"; in testDrumkit() local
|