bugGNU Octave - Bugs: bug #52228, Record[blocking] returns corrupted...

 
 

bug #52228: Record[blocking] returns corrupted 24 bit data (patch included)

Submitter:  Thomas Dean <tomdean>
Submitted:  Sat 14 Oct 2017 06:21:01 PM UTC
   
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  None
Originator Name:  tomdean Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 13 Dec 2018 05:21:07 AM UTC, comment #1: 

Thanks for catching this.  I checked in a change along the lines you suggested here (https://hg.savannah.gnu.org/hgweb/octave/rev/29387b9ccfbb).  This will be a part of the 5.0 release scheduled for January, 2019.

Rik <rik5>
Group administrator
Sat 14 Oct 2017 06:21:01 PM UTC, original submission:  

In libinterp/dldfcn/audiodevinfo.cc, the functions
portaudio_record_callback and octave_record_callback return corrupted data when 24-bit source is selected.
The high order byte remains set after it is first set.

A patch is attached.

Thomas Dean <tomdean>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #42147:  audiodevinfo.patch added by tomdean (747B - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by tomdean (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-12-13 mtmiller Carbon-CopyRemoved 80942 -
    2018-12-13 rik5 StatusPatch Submitted Fixed
        Open/ClosedOpen Closed
    2018-03-20 mtmiller CategoryNone Octave Function
        Item GroupNone Incorrect Result
        StatusNone Patch Submitted
    2017-10-14 tomdean Attached File- Added audiodevinfo.patch, #42147

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code