Im writing an mp3 player for the console (not has nice has mpg123), and I have a funcion volume, which regulates the /dev/mixer volume. I get the following error:
vol.c: In function `volume':
vol.c:60: invalid operands to binary <<
In that line I have:
lev = (rightchannel << 8) + leftchannel;
All the variables are integers
Thank you