I have the following code which I think should set the volume on the audio cape to 100%
if (ioctl(mixer_fd, SOUND_MIXER_WRITE_VOLUME, &vol)==-1)
std::cout <<“Error setting volume”<<std::endl;
However, the volume is still barely audible. Is there something else that needs to be done?