I'm planning to use an amplifier that has both (distinct) speakers and headphones outputs and an input to select between them.
Such input switch the amplifier output on headphones if logic level is high and to speakers if logic level is low. It's not specified if this input has an internal pull-up or pull-down.
I would like to trigger such changeover through headphones jack insertion, but I'm a little bit confused by solution examples found (of course because I don't know how such kind of amplifiers are working).
This is one of the solution schematics I found.
Image source: EE Times - Using comparators to detect accessories in portable audio applications by Arpit Mehta
In my case I need to reverse the detection logic, but my amplifier does not describe either the headphone output impedance, so I'm guessing where the current will flow or if headphones output level will be somehow affected by the Vcc
connection.
Assuming the headphone output stage is always in high-impedance state and that Vcc
is not affecting the output level, should this schematic work?
The yellow rectangle portion in the upper left corner is the amplifier I'm planning to use.