Skip to content

nvwave.playWaveFile not fully async #10413

@LeonarddeR

Description

@LeonarddeR

nvwave.playWaveFile has a keword to play the wave asynchronously. However, only the playback of the wave is async. A complete call of the function still takes around 10 miliseconds for the calling threat to return.

Code snippet:

import nvwave, time

def waveTest():
	curTime = time.time()
	nvwave.playWaveFile("waves\\start.wav")
	return time.time() - curTime

waveTest()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions