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

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

[Octave-bug-tracker] [bug #49927] wavread/audioread refuses to continue


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #49927] wavread/audioread refuses to continue reading wav-file
Date: Tue, 27 Dec 2016 21:35:43 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0

Follow-up Comment #11, bug #49927 (project octave):

Yes, it does look like audioread reads the entire file into memory, and then
copies out a subset of the data if it was called with start and end indices.
That is something that could definitely be improved on the original
implementation.

The code is here:
http://hg.savannah.gnu.org/hgweb/octave/file/023026207910/libinterp/dldfcn/audioread.cc#l74,
and the libsndfile API definitely does include functions to seek and read
subsets of a file.

It sounds like that is essentially the bug in this report, do you agree? And
other devs who have been following this more closely than me?

As to kbhit, that may be a Windows shortcoming, using the keyboard() function
to drop to a debug shell (followed by dbcont at the prompt to continue
execution) may be more reliable on your operating system.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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