[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #55530] audiorecorder default settings incorre
From: |
Lars Kindermann |
Subject: |
[Octave-bug-tracker] [bug #55530] audiorecorder default settings incorrect |
Date: |
Sun, 20 Jan 2019 17:49:26 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:64.0) Gecko/20100101 Firefox/64.0 |
Follow-up Comment #1, bug #55530 (project octave):
I attached a patch for audiodevinfo.cc that fixes bug #44305 by providing a
workaround for an 8-bit bug in portaudio:
https://portaudio.music.columbia.narkive.com/McNZ8eJe/pauint8-and-paint8-always-get-zero-data-in-audio-input-callback-function
If 8 bits are requested, portaudio is now called with 16bit instead and the
results are rescaled before returning to Octave.
audiorecorder default settings are changed to 8000 Hz, 8 Bit, 1 channel,
according to the documentation and for Matlab compatibility.
Additionally I marked unused callbacks and code with FIXME comments, as the
code of audiodevinfo.cc is actually not really in a final state yet.
(file #46051)
_______________________________________________________
Additional Item Attachment:
File name: audiodevinfo.cset Size:6 KB
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?55530>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/