Commit 9a2d7134 authored by Max Kellermann's avatar Max Kellermann

player/Control: apply CamelCase to struct player_status

parent 6db6d3c5
...@@ -150,10 +150,10 @@ PlayerControl::LockSetBorderPause(bool _border_pause) noexcept ...@@ -150,10 +150,10 @@ PlayerControl::LockSetBorderPause(bool _border_pause) noexcept
border_pause = _border_pause; border_pause = _border_pause;
} }
player_status PlayerStatus
PlayerControl::LockGetStatus() noexcept PlayerControl::LockGetStatus() noexcept
{ {
player_status status; PlayerStatus status;
const std::lock_guard<Mutex> protect(mutex); const std::lock_guard<Mutex> protect(mutex);
if (!occupied) if (!occupied)
......
...@@ -99,7 +99,7 @@ enum class PlayerError : uint8_t { ...@@ -99,7 +99,7 @@ enum class PlayerError : uint8_t {
OUTPUT, OUTPUT,
}; };
struct player_status { struct PlayerStatus {
PlayerState state; PlayerState state;
uint16_t bit_rate; uint16_t bit_rate;
AudioFormat audio_format; AudioFormat audio_format;
...@@ -424,7 +424,7 @@ public: ...@@ -424,7 +424,7 @@ public:
void Kill() noexcept; void Kill() noexcept;
gcc_pure gcc_pure
player_status LockGetStatus() noexcept; PlayerStatus LockGetStatus() noexcept;
PlayerState GetState() const noexcept { PlayerState GetState() const noexcept {
return state; return state;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment