[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #57939] audioplayer.play crashes with exceptio
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #57939] audioplayer.play crashes with exception when called with nbits = 32 |
Date: |
Mon, 9 Mar 2020 13:08:54 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko |
Follow-up Comment #2, bug #57939 (project octave):
This is really two problems. The first problem is in audiodevinfo.cc. The
callback function uses a switch statement which has cases for 8-, 16-, and
24-bit audio. There is no case statement for 32-bit audio so the switch
statement falls through to the default case which calls error().
The second issue is that error() when invoked from a callback causes a
termination of the entire program, rather than just returning to the Octave
prompt.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?57939>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/