I have the following code which I think should set the volume on the audio
cape to 100%
int32_t mixer_fd=0;
mixer_fd=open("/dev/mixer", O_WRONLY);
if (mixer_fd>0)
{
int vol=0x6464;
if (ioctl(
mixer_fd, SOUND_MIXER_WRITE_VOLUME, &vol)==-1)
{
std::cout <<"Error setting volume"<<std::endl;
}
close(mixer_fd);
}
However, the volume is still barely audible. Is there something else that
needs to be done?
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.