<p>Yes udev snd can notify u for remove event</p>
<div class="gmail_quote">On Dec 20, 2012 9:58 PM, "Ralph [via GStreamer-devel]" <<a href="/user/SendEmail.jtp?type=node&node=4657555&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>> wrote:<br type="attribution">
<blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

        > Now if i get the sound card removal event in time i set the pipeline state
<br>> to null and everything works fine.
<br><br>Can I ask what is this "sound card removal event"?  I have a similar problem on Windows (<a href="http://gstreamer-devel.966125.n4.nabble.com/How-to-handle-disconnecting-the-headphones-td4657352.html" rel="nofollow" link="external" target="_blank">my question</a>) - when I disconnect the audio device, the pipeline stalls and it is not possible to play it again.
<br>How can I detect situations when an audiosink's device has been disabled or disconnected?  I will have no problem reconfiguring the pipeline to allow playback, but I need to know when it happens.

        
        
        
        <br>
        <br>
        <hr noshade size="1" color="#cccccc">
        <div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif">
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                <a href="http://gstreamer-devel.966125.n4.nabble.com/Alsasrc-System-hang-once-disconnect-the-device-while-pipeline-is-alive-tp4657320p4657553.html" target="_blank" rel="nofollow" link="external">http://gstreamer-devel.966125.n4.nabble.com/Alsasrc-System-hang-once-disconnect-the-device-while-pipeline-is-alive-tp4657320p4657553.html</a>
        </div>
        <div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
                
                To unsubscribe from [Alsasrc] System hang once disconnect the device, while pipeline is alive, <a href="" target="_blank" rel="nofollow" link="external">click here</a>.<br>

                <a href="http://gstreamer-devel.966125.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" target="_blank" link="external">NAML</a>
        </div></blockquote></div>


        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/Alsasrc-System-hang-once-disconnect-the-device-while-pipeline-is-alive-tp4657320p4657555.html">Re: [Alsasrc] System hang once disconnect the device, while pipeline is alive</a><br/>
Sent from the <a href="http://gstreamer-devel.966125.n4.nabble.com/">GStreamer-devel mailing list archive</a> at Nabble.com.<br/>