APPARATUS FOR SPEAKER AUDIO CONTROL IN A DEVICE
The electronic device has audio control for speaker channel based at least in part on an orientation and number of speakers of the electronic device.
1 . An electronic device comprising:
a speaker control module to detect an orientation of the electronic device and a number of speakers of the electronic device; and
a first and a second speaker, coupled to the speaker control module, to be assigned a speaker channel based on the detected orientation of the electronic device.
2 . The electronic device of claim 1 wherein:
the speaker control module to assign a first speaker channel to a first and a second speaker on a same side of the electronic device if the detection indicates four speakers for the electronic device; and
to assign the second speaker channel to a third and a fourth speaker on a different side of the electronic device if the detection indicates four speakers for the electronic device.
3 . The electronic device of claim 1 wherein:
the speaker control module to a first speaker channel to a first speaker if the detection indicates two speakers for the electronic device; and
to assign the second speaker channel to a second speaker on a diagonal from the first speaker of the electronic device if the detection indicates two speakers for the electronic device.
4 . The electronic device of claim 1 wherein the speaker control module comprises an accelerometer that senses a gravity direction to determine either a portrait mode or a landscape mode.
5 . The electronic device of claim 1 wherein the speaker control module comprises a proximity sensor to determine either a portrait mode or a landscape mode.
6 . A computer readable medium with a plurality of instructions to facilitate operation of an electronic device, the plurality of instructions to initiate a process comprising:
detect a number of speakers of the electronic device; and
assign a first speaker channel based on the number of speakers and an orientation of the electronic device.
7 . The computer readable medium of claim 6 further comprising:
assign a second speaker channel based on the number of speakers and the orientation of the electronic device
8 . The computer readable medium of claim 7 wherein:
assign the first speaker channel to a first and a second speaker on a same side of the electronic device upon detecting four speakers of the electronic device; and
assign the second speaker channel to a third and a fourth speaker on a different side of the electronic device upon detecting four speakers of the electronic device.
9 . The computer readable medium of claim 7 wherein:
assign the first speaker channel to a first speaker upon detecting two speakers of the electronic device; and
assign the second speaker channel to a second speaker on a diagonal from the first speaker of the electronic device upon detecting two speakers of the electronic device.