aboutsummaryrefslogtreecommitdiffstats
path: root/src/player_control.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* player: removed player_control.fileTimeMax Kellermann2008-10-111-1/+0
| | | | | | | This variable is superfluous, it is only used to copy its value to player_control.totalTime. Since the original source of this value (song->tag->time) will still be available at this point, we can safely remove fileTime.
* player: added player_get_audio_format()Max Kellermann2008-10-101-15/+0
| | | | | player_get_audio_format() replaces getPlayerSampleRate(), getPlayerBits(), getPlayerChannels().
* player: added player_control.audio_formatMax Kellermann2008-10-101-5/+5
| | | | This replaces the attributes bits, channels, sampleRate.
* song: removed CamelCaseMax Kellermann2008-10-081-3/+3
| | | | CamelCase is ugly... rename all functions.
* song: converted typedef Song to struct songMax Kellermann2008-10-081-5/+11
| | | | Again, a data type which can be forward-declared.
* notify: added notify_deinit()Max Kellermann2008-09-241-0/+5
| | | | Destroy the mutex when it is not used anymore.
* include cleanupMax Kellermann2008-09-061-1/+1
| | | | As usual, include only headers which are really needed.
* moved player_command_finished() to player_thread.cMax Kellermann2008-08-261-8/+0
|
* moved code to pc_init(), dc_init()Max Kellermann2008-08-261-0/+13
|
* renamed player.c to player_control.cMax Kellermann2008-08-261-1/+241
| | | | | Give player.c a better name, meaning that the code is used to control the player thread.
* moved global variable "pc" to player.hMax Kellermann2008-08-261-0/+21
This is the last of the three variables. Now we don't need playerData.h anymore in most sources.