X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.0%2Fcinelerra%2Fasset.C;h=7a33a7cedcd0d5e1912c41b42d9647f7be1de093;hb=6c0c8bd0e577001d1cc18c6c27d58e62f58a6bff;hp=c7ebcdd2ff939255bcb361cd1a207bf78ba471d7;hpb=f9d0d999e813ae19965e07ae2f7da690b4e6fe45;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.0/cinelerra/asset.C b/cinelerra-5.0/cinelerra/asset.C index c7ebcdd2..7a33a7ce 100644 --- a/cinelerra-5.0/cinelerra/asset.C +++ b/cinelerra-5.0/cinelerra/asset.C @@ -201,12 +201,6 @@ void Asset::boundaries() //printf("Asset::boundaries %d %d %f\n", __LINE__, sample_rate, frame_rate); } - -void Asset::reset_index() -{ - index_state->reset(); -} - void Asset::copy_from(Asset *asset, int do_index) { copy_location(asset); @@ -574,11 +568,6 @@ int Asset::read_index(FileXML *file) return 0; } -int Asset::write_index(const char *path, int data_bytes) -{ - return index_state->write_index(path, data_bytes, this, audio_length); -} - // Output path is the path of the output file if name truncation is desired. // It is a "" if complete names should be used. @@ -723,7 +712,6 @@ int Asset::write_index(FileXML *file) - const char* Asset::construct_param(const char *param, const char *prefix, char *return_value) @@ -784,7 +772,6 @@ void Asset::load_defaults(BC_Hash *defaults, -// Used by filefork channels = GET_DEFAULT("CHANNELS", 2); if(!sample_rate) sample_rate = GET_DEFAULT("RATE", 44100); header = GET_DEFAULT("HEADER", 0); @@ -1006,7 +993,6 @@ void Asset::save_defaults(BC_Hash *defaults, -// Used by filefork UPDATE_DEFAULT("CHANNELS", channels); UPDATE_DEFAULT("RATE", sample_rate); UPDATE_DEFAULT("HEADER", header); @@ -1034,18 +1020,6 @@ void Asset::save_defaults(BC_Hash *defaults, -int Asset::update_path(char *new_path) -{ - strcpy(path, new_path); - return 0; -} - -void Asset::update_index(Asset *asset) -{ - index_state->copy_from(asset->index_state); -} - - int Asset::dump(FILE *fp) { fprintf(fp," asset::dump\n");