#include <cstdio>#include <Qt/qlcdnumber.h>#include <stdio.h>#include <unistd.h>#include <Qt/qgroupbox.h>#include <Qt/qpushbutton.h>#include <Qt/qcolor.h>#include <Qt/qlabel.h>#include <Qt/qwidget.h>#include <math.h>#include <Qt/qslider.h>#include <assert.h>#include <Qt/qmessagebox.h>#include <Qt/qcombobox.h>#include <Qt/qradiobutton.h>#include <Qt/qspinbox.h>#include <Qt/qlineedit.h>#include <Qt/qcheckbox.h>#include <sys/times.h>#include "version.h"#include <stdlib.h>#include "bpmplay.h"#include <Qt/qfiledialog.h>#include <Qt/qtabwidget.h>#include <Qt/qpainter.h>#include "player.h"#include "bpm-analyzer.h"#include "beatgraph-analyzer.h"#include "spectrum-analyzer.h"#include "rhythm-analyzer.h"#include "memory.h"#include "dsp-drivers.h"#include "about.h"#include "bpmplay-event.h"#include "clock-drivers.h"#include "info.h"#include "dsp-jack.h"#include "qt-helpers.h"
Classes | |
| class | WritingFinished |
Defines | |
| #define | REFRESH_TIME 1000 |
| #define | FINE_REFRESH_TIME 1000 |
| #define | BOOL(a) target->set_##a(player.a->isChecked()); |
| #define | NR(a) target->set_##a(player.a->value()); |
| #define | TEXT(a) target->set_##a(player.a->text()); |
| #define | BOOL(a) player->a->setChecked(from->get_##a()) |
| #define | NR(a) player->a->setValue(from->get_##a()) |
| #define | TEXT(a) player->a->setText(from->get_##a()) |
| #define | ACCEPT e->accept(); return; |
| #define | knick 15 |
Enumerations | |
| enum | tempoState { PlayingAtNormalTempo, TempoIsChanging, PlayingAtTargetTempo, UnknownTempoState } |
Functions | |
| void | fetch_config_from (PlayerConfig *target, const Player &song_player) |
| void | store_config_into (PlayerConfig *from, Player *song_player) |
| void | setTempoColors (QWidget *button, tempoState state) |
| int | valuetick (int i) |
| void | msg_playing_state_changed () |
| void | msg_writing_finished () |
| #define ACCEPT e->accept(); return; |
Referenced by Player::keyPressEvent().
| #define BOOL | ( | a | ) | player->a->setChecked(from->get_##a()) |
| #define BOOL | ( | a | ) | target->set_##a(player.a->isChecked()); |
Referenced by fetch_config_from(), and store_config_into().
| #define FINE_REFRESH_TIME 1000 |
Referenced by Player::Player(), and Player::targetStep().
| #define knick 15 |
Referenced by Player::changeTempo().
| #define NR | ( | a | ) | player->a->setValue(from->get_##a()) |
| #define NR | ( | a | ) | target->set_##a(player.a->value()); |
Referenced by fetch_config_from(), and store_config_into().
| #define REFRESH_TIME 1000 |
BF: tempo fading should not be related with the UI. sync operations now rely on a timer to avoid spawning a new thread, but need a much lower refresh time, so I introduced a second timer.
Referenced by Player::Player().
| #define TEXT | ( | a | ) | player->a->setText(from->get_##a()) |
| #define TEXT | ( | a | ) | target->set_##a(player.a->text()); |
Referenced by fetch_config_from(), and store_config_into().
| enum tempoState |
| void fetch_config_from | ( | PlayerConfig * | target, | |
| const Player & | song_player | |||
| ) |
References BOOL, get_capacity(), NR, opt_setup, qtof4(), and TEXT.
Referenced by Player::restartCore().
| void msg_playing_state_changed | ( | ) |
References app, and player_window.
Referenced by core_start(), pause_playing(), and unpause_playing().
| void msg_writing_finished | ( | ) |
This function is called by the player core when the writing process finished its execution.
References app, opt_check, opt_setup, and player_window.
Referenced by writer_died().
| void setTempoColors | ( | QWidget * | button, | |
| tempoState | state | |||
| ) |
References PlayingAtNormalTempo, PlayingAtTargetTempo, setBackgroundColor(), and TempoIsChanging.
| void store_config_into | ( | PlayerConfig * | from, | |
| Player * | song_player | |||
| ) |
References BOOL, dsp, init_capacity_widget(), NR, dsp_driver::playrate, and TEXT.
Referenced by Player::initCore(), Player::restartCore(), and Player::tabChanged().
| int valuetick | ( | int | i | ) |
References assert().
Referenced by Player::update_inmap_pixmap(), and Player::update_map_pixmaps().
1.6.2