| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
player_control.thread contains the handle of the player thread, or
NULL if the player thread isn't running.
|
|
|
|
| |
Older gcc versions complained about shadowed parameters in prototypes.
|
|
|
|
|
| |
When a (remote) song is deleted from the playlist, there may still be
a reference to it in pc.errored_song. Clear this reference.
|
| |
|
|
|
|
|
| |
Removed the "volatile" attributes from several variables which are not
important for synchronization.
|
|
|
|
|
| |
Renamed variables and internal functions. Most of the
player_control.h API remains in CamelCase for now.
|
|
|
|
|
|
|
| |
"LOG_H" is a macro which is also used by ffmpeg/log.h. This is
ffmpeg's fault, because short macros should be reserved for
applications, but since it's always a good idea to choose prefixed
macro names, even for applications, we are going to do that in MPD.
|
|
|
|
|
|
| |
QUEUE adds a new song to the player's queue. CANCEL clears the queue.
These two commands replace the old and complex queueState and
queueLockState code.
|
|
|
|
|
|
|
| |
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_get_audio_format() replaces getPlayerSampleRate(),
getPlayerBits(), getPlayerChannels().
|
|
|
|
| |
This replaces the attributes bits, channels, sampleRate.
|
|
|
|
|
| |
When there are standardized headers, use these instead of the bloated
os_compat.h.
|
|
|
|
| |
Typedefs shouldn't be used, use the bare struct names instead.
|
|
|
|
| |
Again, a data type which can be forward-declared.
|
|
|
|
|
|
| |
Since we use a C99 compiler now, we can assert that the C99 standard
headers are available, no need for complicated compile time checks.
Kill mpd_types.h.
|
|
|
|
|
| |
Do full C99 integer type conversion in all modules which were not
touched by Eric's merged patch.
|
|
|
|
| |
Destroy the mutex when it is not used anymore.
|
| |
|
| |
|
|
Give player.c a better name, meaning that the code is used to control
the player thread.
|