| Summary: | SDL_PauseAudio(false) never returns | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Daniel Knobe <Daniel-Knobe> |
| Component: | audio | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | aschiffler |
| Version: | 2.0.1 | ||
| Hardware: | x86 | ||
| OS: | Windows (XP) | ||
|
Description
Daniel Knobe
2013-11-11 15:34:58 UTC
Hey Ryan, can you look at this really quick? Recommend to close this bug as no repro.
Added test automation for this case which can be run using
./testautomation.exe --filter audio_pauseUnpauseAudio
and cannot verify this issue on Win7/cygwin build.
$ ./testautomation.exe --filter audio_pauseUnpauseAudio
INFO: 07/07/14 23:35:56: ::::: Test Run /w seed '0CZWFAXDEWQTNSWA' started
...
INFO: 07/07/14 23:35:56: ----- Test Case 1.15: 'audio_pauseUnpauseAudio' started
...
INFO: 07/07/14 23:35:56: Assert 'Call to SDL_AudioInit('directsound')': Pass
...
INFO: 07/07/14 23:35:56: Pause/Unpause iteration: 1
INFO: 07/07/14 23:35:56: Assert 'Call to SDL_PauseAudio(0), call 1': Pass
INFO: 07/07/14 23:35:56: Assert 'Call to SDL_PauseAudio(0), call 2': Pass
INFO: 07/07/14 23:35:56: Assert 'Verify callback counter; expected: >0 got: 1': Passed
INFO: 07/07/14 23:35:56: Assert 'Verify callback length; expected: >0 got: 16384': Passed
INFO: 07/07/14 23:35:56: Assert 'Call to SDL_PauseAudio(1), call 1': Pass
INFO: 07/07/14 23:35:56: Assert 'Call to SDL_PauseAudio(339), call 2': Pass
INFO: 07/07/14 23:35:56: Assert 'Verify callback counter; expected: 1, got: 1': Passed
INFO: 07/07/14 23:35:56: Pause/Unpause iteration: 2
INFO: 07/07/14 23:35:56: Assert 'Call to SDL_PauseAudio(0), call 1': Pass
INFO: 07/07/14 23:35:56: Assert 'Call to SDL_PauseAudio(0), call 2': Pass
INFO: 07/07/14 23:35:56: Assert 'Verify callback counter; expected: >0 got: 1': Passed
INFO: 07/07/14 23:35:56: Assert 'Verify callback length; expected: >0 got: 16384': Passed
INFO: 07/07/14 23:35:56: Assert 'Call to SDL_PauseAudio(1), call 1': Pass
INFO: 07/07/14 23:35:56: Assert 'Call to SDL_PauseAudio(4548), call 2': Pass
INFO: 07/07/14 23:35:56: Assert 'Verify callback counter; expected: 1, got: 1': Passed
INFO: 07/07/14 23:35:56: Pause/Unpause iteration: 3
INFO: 07/07/14 23:35:56: Assert 'Call to SDL_PauseAudio(0), call 1': Pass
INFO: 07/07/14 23:35:56: Assert 'Call to SDL_PauseAudio(0), call 2': Pass
INFO: 07/07/14 23:35:56: Assert 'Verify callback counter; expected: >0 got: 1': Passed
INFO: 07/07/14 23:35:56: Assert 'Verify callback length; expected: >0 got: 16384': Passed
INFO: 07/07/14 23:35:56: Assert 'Call to SDL_PauseAudio(1), call 1': Pass
INFO: 07/07/14 23:35:56: Assert 'Call to SDL_PauseAudio(2721), call 2': Pass
INFO: 07/07/14 23:35:56: Assert 'Verify callback counter; expected: 1, got: 1': Passed
...
INFO: 07/07/14 23:36:01: Total Run runtime: 0.0 sec
INFO: 07/07/14 23:36:01: Run Summary: Total=1 Passed=1 Failed=0 Skipped=0
INFO: 07/07/14 23:36:01: >>> Run /w seed '0CZWFAXDEWQTNSWA': Passed
INFO: 07/07/14 23:36:01: Exit code: 0
This works in the test case Andreas created. Please reopen this bug if you're still seeing the issue. |