player/Control: apply CamelCase to struct player_status

This commit is contained in:
Max Kellermann 2018-09-21 17:22:35 +02:00
parent 6db6d3c50c
commit 9a2d71341e
2 changed files with 4 additions and 4 deletions

View File

@ -150,10 +150,10 @@ PlayerControl::LockSetBorderPause(bool _border_pause) noexcept
border_pause = _border_pause;
}
player_status
PlayerStatus
PlayerControl::LockGetStatus() noexcept
{
player_status status;
PlayerStatus status;
const std::lock_guard<Mutex> protect(mutex);
if (!occupied)

View File

@ -99,7 +99,7 @@ enum class PlayerError : uint8_t {
OUTPUT,
};
struct player_status {
struct PlayerStatus {
PlayerState state;
uint16_t bit_rate;
AudioFormat audio_format;
@ -424,7 +424,7 @@ public:
void Kill() noexcept;
gcc_pure
player_status LockGetStatus() noexcept;
PlayerStatus LockGetStatus() noexcept;
PlayerState GetState() const noexcept {
return state;