@mritter0 I added your pause and resume code to a small playsound program. I added a small AmigaDOS Delay() before pausing the play and a small AmigaDOS Delay() before resuming sound play. I used a 5 second 8SVX vocal message and converted that message to RIFF-WAV for testing. I tested with the OS4FE 8SVX and WAV datatypes; then tested with the Enhancer WAV datatype. In all cases the Enhancer sound.datatype was used.
The OS4 8SVX and WAV datypes seemed to skip a fraction of a second of the sound when play was resumed but the sound played normally.
When I performed the same test with the Enhancer WAV datatype, the sound play resumed with the same garbling you described.
I can confirm the garbling problem with the Enhancer WAV datatype when the sound play is paused and then resumed.
Amiga X1000 with 2GB memory & OS 4.1FE + Radeon HD 5450
@mritter0 As I mentioned in your "Change datatype volume" topic, when I switched to the OS4 sound.datatype, I wasn't getting any pause at all. I might retest all this tomorrow to see if I tested correctly.
Amiga X1000 with 2GB memory & OS 4.1FE + Radeon HD 5450
As I mentioned in your "Change datatype volume" topic, when I switched to the OS4 sound.datatype, I wasn't getting any pause at all. I might retest all this tomorrow to see if I tested correctly
I don't believe the OS data type supports anything other than play and stop, so you might never get it working.
I'll investigate the jitter. I got this early on in development, but thought I'd resolved it - I've not had any issue for a while, but that doesn't mean I've not just been lucky.
I'll investigate the jitter. I got this early on in development, but thought I'd resolved it - I've not had any issue for a while, but that doesn't mean I've not just been lucky.
To me the sound play after a pause sounds like it started from 2 different points but that be what you refer to as 'jitter'.
Amiga X1000 with 2GB memory & OS 4.1FE + Radeon HD 5450