//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);
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.
-
const char* Asset::construct_param(const char *param,
const char *prefix,
char *return_value)
-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");