I can't get the device volume interface (SLDeviceVolumeItf).
SLDeviceVolumeItf bqPlayerDeviceVolume = NULL;
SLInterfaceID ids[4] = {SL_IID_BUFFERQUEUE, SL_IID_VOLUME, SL_IID_DEVICEVOLUME};
SLboolean req[4] = {SL_BOOLEAN_TRUE, SL_BOOLEAN_TRUE, SL_BOOLEAN_TRUE };
....
SLresult result = (*bqPlayerObject)->GetInterface(bqPlayerObject, SL_IID_DEVICEVOLUME, &bqPlayerDeviceVolume);
SL_IID_VOLUME interface can change the volume, but can't raise the volume more than what the hardware button has set that to.
Any idea how to do this?
Regards, Shahriar