In writing small programs with alsa play wav files, not normal play, after finishing her run out harsh voice, always feel is their parameters set wrong, depressing bug checked two days, found the allocated space is new and sizeof when reading data, brothers, in the picture comment out code is not run properly,
CodePudding user response:
New inside the place with brackets