Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gst-plugins-good gst-plugins-good
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 646
    • Issues 646
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 71
    • Merge requests 71
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GStreamerGStreamer
  • gst-plugins-goodgst-plugins-good
  • Issues
  • #852
Closed
Open
Issue created Feb 19, 2021 by Ignazio@ignazp

Autoaudiosink ignores the buffer-time and latency-time properties

On both windows and Linux the autoaudiosink ignores the buffer-time and latency-time properties. As reported in the documentation the autoaudiosink is not a subclass of baseaudiosink.

To test you can use the audiolatency module to compare the output of these pipelines:

gst-launch-1.0 pulsesrc device=auto_null.monitor ! audiolatency print-latency=true ! autoaudiosink buffer-time=20000 latency-time=10000
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstPulseSrcClock
Redistribute latency...
Redistribute latency...
last latency: 135ms, running average: 135ms
last latency: 122ms, running average: 129ms
last latency: 122ms, running average: 126ms
last latency: 122ms, running average: 125ms
last latency: 133ms, running average: 127ms
...
gst-launch-1.0 pulsesrc device=auto_null.monitor ! audiolatency print-latency=true ! pulsesink buffer-time=20000 latency-time=10000
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstPulseSrcClock
Redistribute latency...
Redistribute latency...
last latency: 153ms, running average: 153ms
last latency: 30ms, running average: 92ms
last latency: 27ms, running average: 70ms
last latency: 23ms, running average: 58ms
last latency: 31ms, running average: 53ms
...
Assignee
Assign to
Time tracking