diff options
author | Max Kellermann <max@musicpd.org> | 2018-09-21 17:22:35 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2018-09-21 17:22:35 +0200 |
commit | 9a2d71341e1f5a54ce6263e1fafbf538abe29b61 (patch) | |
tree | 8336ab6126e78bf225444fc9503be5403432669b /src/player | |
parent | 6db6d3c50cfbff35139dad1adfe0f3f143bef1c9 (diff) |
player/Control: apply CamelCase to struct player_status
Diffstat (limited to 'src/player')
-rw-r--r-- | src/player/Control.cxx | 4 | ||||
-rw-r--r-- | src/player/Control.hxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/player/Control.cxx b/src/player/Control.cxx index 6d48d28d6..296b9c431 100644 --- a/src/player/Control.cxx +++ b/src/player/Control.cxx @@ -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) diff --git a/src/player/Control.hxx b/src/player/Control.hxx index 11bf43cc0..96e43bc93 100644 --- a/src/player/Control.hxx +++ b/src/player/Control.hxx @@ -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; |