mirror of
https://github.com/jpochyla/psst.git
synced 2026-04-27 07:25:52 +03:00
[PR #261] [MERGED] Stop playback on stop command #466
Labels
No labels
api
bug
build
documentation
duplicate
enhancement
good first issue
help wanted
idea
invalid
linux
lowprio
macos
pull-request
upstream
windows
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/psst#466
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jpochyla/psst/pull/261
Author: @forslund
Created: 1/16/2022
Status: ✅ Merged
Merged: 3/12/2022
Merged by: @jpochyla
Base:
master← Head:pause-on-stop📝 Commits (1)
9805367core: Stop audio_output_sink on stop command📊 Changes
1 file changed (+1 additions, -0 deletions)
View changed files
📝
psst-core/src/player/mod.rs(+1 -0)📄 Description
Currently the audio playback continues when the stop command is received in the player. To me this was quite counter-intuitive, and I think the playback should stop directly.
This adds a call to
self.audio_output_sink.stop()when the stop-command is received.This can easily be tested using the cli-client where "s" will not do anything.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.