8000 timeInfo.currentTime passed to PaStreamCallback is not strictly conformant to spec · Issue #74 · PortAudio/portaudio · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
timeInfo.currentTime passed to PaStreamCallback is not strictly conformant to spec #74
Open
@PortAudio-admin

Description

@PortAudio-admin

Issue created by @RossBencina

The PaStreamCallback documentation for timeInfo.currentTime reads:

"the time in seconds when the stream callback was called"

At the moment the buffer processor may call the stream callback multiple times without intervention from the calling host API, so what is currently happening is:

"the time the portaudio buffer processor started processing the host buffer which the callback is involved with filling".

I think an accurate "current time" should be passed to the callback when possible. This was the reason ticket #3 existed.

One resolution would be to change the buffer processor to return after each call to PaStreamCallback so the host api implementation could update the currentTime field.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Priority: Normalsrc-commonCommon sources in /src/common

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0