octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #44142] audio playblocking and recordblocking


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #44142] audio playblocking and recordblocking should be interruptible with Ctrl-C
Date: Sun, 01 Feb 2015 00:22:55 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.91 Safari/537.36

Update of bug #44142 (project octave):

                  Status:                    None => Patch Submitted        
             Assigned to:                    None => mtmiller               
                 Summary: audioplayer.playblocking should be interruptible
with Ctrl-C => audio playblocking and recordblocking should be interruptible
with Ctrl-C

    _______________________________________________________

Follow-up Comment #1:

Same applies to audiorecorder's recordblocking method.

The attached diff fixes the problem for me, is this kind of check of the
interrupt flag safe to do in this case? Is there another flag or library
function to use instead? Otherwise, the loop is entirely data driven and does
not break until the data is exhausted.

(file #32960)
    _______________________________________________________

Additional Item Attachment:

File name: audio-interrupt.diff           Size:0 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?44142>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]