How to trigger sound only when both fingers lifted off screen

if (Input.GetKeyDown(“space”) || Input.touchCount == 2)
{
ClearAll(StrokesContainer);

    Touch touch1 = Input.GetTouch(0);
    Touch touch2 = Input.GetTouch(0);

    if ((touch1.phase == TouchPhase.Ended) && (touch2.phase == TouchPhase.Ended))
    {
        audioElement.Play();
    }

}

This the current code I have.
Basically I want to clear the screen when the user touches it with two fingers simultaneously, and play a sound clip at the same time.
However if the user keeps both their fingers on the screen the sound should still play only once.

Does anyone have any idea how to achieve this effect?

Yes!
That was it!
So simple, so elegant!
THANK YOU!

Also I used the .isPlaying attribute to check directly without creating my own bool and got rid of TouchPhase altogether.

if (Input.GetKeyDown("space") || (Input.touchCount == 2 && !audioElement.isPlaying))
{
    ClearAll(StrokesContainer);
    audioElement.Play();
}