
Defines | |
| #define | bpmdj_allocate(size, type) (type*)myalloc(sizeof(type)*(size), __FILE__, __LINE__) |
| #define | bpmdj_array(name, size, type) type * name = bpmdj_allocate(size,type) |
| #define | bpmdj_reallocate(thing, size, type) (type*)myrealloc(thing,sizeof(type)*(size)) |
| #define | bpmdj_deallocate(thing) myfree(thing); |
Functions | |
| void * | myalloc (int size, const char *file, int line) |
| void * | myrealloc (void *thing, int size) |
| void | myfree (void *) |
| #define bpmdj_allocate | ( | size, | |||
| type | ) | (type*)myalloc(sizeof(type)*(size), __FILE__, __LINE__) |
Referenced by histogram_type::best_dist(), RhythmAnalyzer::calculateRhythmPattern2(), DataBase::closestSongs(), Index::copy_albums(), histogram_type::cor_dist(), dist_init(), SongSelectorLogic::exportPlayList(), SpectrumAnalyzer::fetchSpectrum_normal(), FragmentInMemoryData::FragmentInMemoryData(), histogram_type::init(), BpmCounter::init(), Player::mapLengthChanged(), Player::mapStart(), matrix(), mean_echo_old(), BpmCounter::measure(), ndist(), histogram_type::normalize_autocorrelation_diff(), dsp_jack::open(), dsp_alsa::open(), Tags::parse_tags(), EnergyAnalyzer::readAudio(), readsamples(), dsp_driver::start(), histogram_type::strip(), strupperdup(), and wave_open().
| #define bpmdj_array | ( | name, | |||
| size, | |||||
| type | ) | type * name = bpmdj_allocate(size,type) |
Referenced by energize().
| #define bpmdj_deallocate | ( | thing | ) | myfree(thing); |
Referenced by Md5Analyzer::analyze(), bpmdjraw(), RhythmAnalyzer::calculateRhythmPattern2(), dist_done(), SongSelectorLogic::doAutoMix(), energize(), escape(), SpectrumAnalyzer::fetchSpectrum_normal(), free_matrix(), map_set_diskrate(), map_stop(), Player::mapLengthChanged(), History::mark_all_played_songs(), BpmCounter::measure(), ndist(), histogram_type::normalize_autocorrelation_diff(), openRawFile(), openRawFileForWriting(), Tags::parse_tags(), SongSelectorLogic::queueRandom(), BpmAnalyzerDialog::rangeCheck(), readsamples(), Song::refill(), removeAllRaw(), removeRaw(), Index::set_title_author_remix(), QSong::setVector(), histogram_type::strip(), BpmCounter::~BpmCounter(), and FragmentInMemoryData::~FragmentInMemoryData().
| #define bpmdj_reallocate | ( | thing, | |||
| size, | |||||
| type | ) | (type*)myrealloc(thing,sizeof(type)*(size)) |
Referenced by Index::add_album(), and QSong::addVector().
| void* myalloc | ( | int | size, | |
| const char * | file, | |||
| int | line | |||
| ) |
References assert().
| void myfree | ( | void * | ) |
| void* myrealloc | ( | void * | thing, | |
| int | size | |||
| ) |
References assert().
1.6.2