Hey all,<br><br>I'm working on an applet that will inform the user when streams have been swapped to a newly plugged in device.<br>The problem that I'm facing is that I don't know what angle to approach the problem from.<br>
<br>So far I've used the ext_stream_restore callbacks to try get enough information to detect it, but the callbacks also<br>run on changes in volume etc not just hotplug events.<br><br>Another approach I hoped would work is to use the "index" parameter of the callback registered with pa_context_set_subscribe_callback,<br>
but that approach didn't work either.<br><br>If somebody would shed some light on what the cleanest way to achive this would be I'd appreciate it,<br>Cheers, -Harry<br>