Search Issue Tracker

Fixed in 2021.2.X

Fixed in 2020.3.X, 2021.1.X

Votes

0

Found in

2020.3

2020.3.4f1

2021.1

2021.2

Issue ID

1329351

Regression

No

[DSPGraph] Audio clip does not loop from to the begining when starting it from the middle

Audio

-

Reproduction steps:
1. Open the user's attached project and Samples/DSPGraph Audio Framework/0.1.0-preview.18/Simple DSPGraph examples/PlayClip/PlayClip scene
2. Enter the play mode
3. In the Game view, select Play Clip! and listen to the audio

Expected result: "three four", "testing one two three four", "testing one two three four" audio is played
Actual result: "three four", "three four", "three four" audio is played

Reproducible with: 0.1.0-preview.13 - 0.1.0-preview.18 (2020.3.5f1, 2021.1.4f1, 2021.2.0a14)
Not reproducible with: 2018.4, 2019.4 (could not downgrade DSPGraph)

  1. Resolution Note (fix version 2021.2):

    Fixed in: 2021.2.0a17

    Added choice of looping behavior when creating the audio sample provider. This can be done in PlayClip.cs, when block.SetSampleProvider is called inside OnGUI, you need to add an extra argument: loopPointIsStart: true.

    This will only work with the following release of DSPGraph (current DSPGraph is 0.1.0-preview.18)

  2. Resolution Note (fix version 2021.1):

    Fixed in: 2021.1.8f1
    This will only work with the following release of DSPGraph (current DSPGraph is 0.1.0-preview.18)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.