Is there a way to use speakers like in phone call, or is it just volume control?

Hello

I was wondering is there a difference between using phone’s speaker like when it is in a regular phone call (you can hear it good from up close but speaker is shut off) and when the speaker is on?

I mean is there a way to control that option from an app using corona sdk or is it nothing more then just tweaking the volume up and down?

Thanks

There isn’t a way in Corona SDK to do anything than control the volume.  There might be more options using Corona Enterprise or Corona Cards.

Rob

Nothing with corona pro subscriber too?

I mean but isn’t that function is not more then turning the voice up and down anyway? or is it not the same’ can i achieve the same or close results with volume control?

Thanks

Let me try and restate this.  If you use the audio.* library you can control the master volume that OpenAL Mixer.  You can also control the volume of any one of the 32 available channels.   This has nothing to do if the speaker is on or off.  Turning a speaker phone on is more than just cranking up the volume.  The speaker and the ear piece are different devices.

That said, Corona SDK (regardless of subscriber level) has no way of turning off the speaker and turning on the ear piece.  It can only use the speaker/headphones. 

It may be possible to do something using Corona Enterprise or Corona Cards where you have native access.

Rob

Oh, thank you then.

There isn’t a way in Corona SDK to do anything than control the volume.  There might be more options using Corona Enterprise or Corona Cards.

Rob

Nothing with corona pro subscriber too?

I mean but isn’t that function is not more then turning the voice up and down anyway? or is it not the same’ can i achieve the same or close results with volume control?

Thanks

Let me try and restate this.  If you use the audio.* library you can control the master volume that OpenAL Mixer.  You can also control the volume of any one of the 32 available channels.   This has nothing to do if the speaker is on or off.  Turning a speaker phone on is more than just cranking up the volume.  The speaker and the ear piece are different devices.

That said, Corona SDK (regardless of subscriber level) has no way of turning off the speaker and turning on the ear piece.  It can only use the speaker/headphones. 

It may be possible to do something using Corona Enterprise or Corona Cards where you have native access.

Rob

Oh, thank you then.