1. Technical Field
The present disclosure relates to an electronic device and particular to an electronic device used for playing audio signals.
2. Description of Related Art
A global positioning system (GPS) is a widely used in device in automobiles. A GPS is sometimes integrated with other electronic systems such as a radio and a DVD player, etc. When the radio or DVD player is on and the GPS is being used at the same time, a driver or passenger may have to switch from playing the radio to the GPS, and crucial information from the GPS may be missed.
Therefore, there is room for improvement in the art.
Many aspects of the embodiments can be better understood with references to the following drawings. The components in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the embodiments. Moreover, in the drawings, like reference numerals designate corresponding parts throughout two views.
The disclosure is illustrated by way of example and not by way of limitation in the figures of the accompanying drawings in which like references indicate similar elements. It should be noted that references to “an” or “one” embodiment in this disclosure are not necessarily to the same embodiment, and such references mean at least one.
Referring to
The first output module 10 is used for generating a first audio signal. In the embodiment, the first audio signal is a GPS audio signal.
The judgment module 20 is used for judging whether the first audio signal is generated and generating a control signal. If the first audio signal is generated, the judgment module 20 generates a first control signal to the first switch unit 30. If the first audio signal is not generated, the judgment module 20 generates a second control signal to the first switch unit 30.
The first switch module 30 is used for switching between a first state and a second state according to the control signal. If the first control signal is generated, the first switch module 30 switches to the first state. In the first state, the first switch module 30 transmits the first audio signal to the play module 70 directly. In the embodiment, the first switch module 30 is a multiplex switch such as a GSM3157 chip. The switching speed of the first switch module 30 is less than 20 ns per time.
The second output module 40 is used for generating second audio signals. In the embodiment, the second audio signals include at least two different channel radio audio signals.
The operation module 50 is used for generating a selecting signal by the operation of the user.
The second switch module 60 is used for selecting one of the second audio signals according to the selecting signal and transmitting the selected audio signal to the first switch module 30. The switching speed of the second switch module 60 is about 100 ms per time which is lower than the switching speed of the first switch module 30.
If the first control signal is not generated, the first switch module 30 switches to the second state. In the second state, the first switch module 30 transmits the selected second audio signal to the play module 70.
The play module 70 is used for playing the audio signal.
A transmitting method is used for transmitting the different audio signal of the electronic device in different ways. As shown in
In step S201, it is determined whether the first audio signal is generated. If the first audio signal is generated, the step S202 is implemented. If the first audio signal is not generated, the step S204 is implemented. In the embodiment, the first audio signal is a GPS audio signal.
In step S202, the judgment module generates a first control signal, the step S203 is implemented.
In step S203, the first switch module switches to the first state and transmits the first audio signal, the step S209 is implemented.
In step S204, the judgment module generates a second control signal.
In step S205, it is determined whether second audio signals are generated. If the second audio signals are generated, the step S206 is implemented. If the second audio signals are not generated, return to step S201. In the embodiment, the second audio signals include at least two different audio signals.
In step S206, it is determined whether a selecting signal is generated. If the selecting signal is generated, the step S207 is implemented. If the selecting signal is not generated, return to step S205.
In step S207, the second switch module selects one of the second audio signals and transmits the selected second audio signal.
In step S208, the first switch module switches to the second state and transmits the selected second audio signal, the step S209 is implemented.
In step S209, the play unit plays the audio signal and the process ends.
As described, when the GPS audio signal is generated, the second switch module 60 transmits the GPS audio signal to the play module 70 directly, such that missing an audio signal of the GPS is minimized.
It is to be understood, even though information and advantages of the present embodiments have been set fourth in the foregoing description, together with details of the structures and functions of the present embodiments, the disclosure is illustrative only; and that changes may be made in detail, especially in matters of shape, size, and arrangement of parts within the principles of the present embodiments to the full extent indicated by the broad general meaning of the terms in which the appended claims are expressed.
Number | Date | Country | Kind |
---|---|---|---|
99125574 A | Aug 2010 | TW | national |
Number | Name | Date | Kind |
---|---|---|---|
20080219480 | Hopkins | Sep 2008 | A1 |
20100010648 | Bull et al. | Jan 2010 | A1 |
20100067722 | Bisgaard | Mar 2010 | A1 |
20110161006 | Deurwaarder | Jun 2011 | A1 |
Number | Date | Country | |
---|---|---|---|
20120027233 A1 | Feb 2012 | US |