mirror of
https://github.com/clangen/musikcube.git
synced 2025-01-30 06:32:36 +00:00
Remove unnecessary code
This commit is contained in:
parent
411980fe2a
commit
7fd9ebd550
@ -936,9 +936,6 @@ void PlaybackService::OnStreamEvent(StreamState eventType, std::string uri) {
|
|||||||
|
|
||||||
void PlaybackService::OnPlaybackEvent(PlaybackState eventType) {
|
void PlaybackService::OnPlaybackEvent(PlaybackState eventType) {
|
||||||
POST(this, MESSAGE_PLAYBACK_EVENT, (int64_t) eventType, 0);
|
POST(this, MESSAGE_PLAYBACK_EVENT, (int64_t) eventType, 0);
|
||||||
if (eventType == PlaybackState::Paused || eventType == PlaybackState::Playing) {
|
|
||||||
this->PlaybackStateChanged(static_cast<PlaybackState>(eventType));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void PlaybackService::OnVolumeChanged() {
|
void PlaybackService::OnVolumeChanged() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user