Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audio cues are trimmed sometimes with JACK #330

Open
moonshaadow opened this issue Sep 24, 2024 · 1 comment
Open

Audio cues are trimmed sometimes with JACK #330

moonshaadow opened this issue Sep 24, 2024 · 1 comment
Assignees
Labels
bug GStreamer Related to the Gstreamer backend

Comments

@moonshaadow
Copy link

Describe the bug
I have noticed that sometimes the attack of some audio cues are trimmed.
The behavior happens when the cue is manually triggered.

To Reproduce
Steps to reproduce the behavior:

  1. create a media cue. To easily hear the behavior, choose a very short audio file, with audio starting at the very beginning of the file.
  2. If this is not default behavior, choose JACK output for this cue.
  3. manually trigger the cue, many times until you hear the behavior. You should notice cut attack, sometimes.
    .
    Expected behavior
    Audio cue be played entirely, from the very beginning of the file.

Linux Show Player version:

  • [last from Github, installed with poetry]

OS Version

  • [Mint 21.33]

Additional context
This is not happening with pure ALSA instead of JACK. So maybe it could happen because of the refreshing of JACK connections at each trig.
This is not happening when we loop the cue.

@FrancescoCeruti FrancescoCeruti added bug GStreamer Related to the Gstreamer backend labels Sep 24, 2024
@FrancescoCeruti
Copy link
Owner

FrancescoCeruti commented Sep 24, 2024

So maybe it could happen because of the refreshing of JACK connections at each trig.

Very likely, currently the connection happens asynchronously, we need to block the playback while connecting

@FrancescoCeruti FrancescoCeruti self-assigned this Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug GStreamer Related to the Gstreamer backend
Projects
None yet
Development

No branches or pull requests

2 participants