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

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

[Octave-bug-tracker] [bug #64379] audioplayer creation fails


From: John Donoghue
Subject: [Octave-bug-tracker] [bug #64379] audioplayer creation fails
Date: Mon, 10 Jul 2023 07:49:45 -0400 (EDT)

Follow-up Comment #7, bug #64379 (project octave):

Yeah I meant  p = getplayer (a);

So it requires data in recorder object in order to get a player so at least
getplayer will return a more meaningful message now.


p = getplayer(a)
error: audioplayer: Y must be non-empty numeric data
error: called from
    audioplayer at line 145 column 7
    getplayer at line 36 column 10


Im not sure why the audioplayer constructor is checking that its not a
function handle instead of checking what it should be, but a change for that
will fix the other part of the bug report 


octave:3> p = audioplayer(a)
error: Invalid call to audioplayer.  Correct usage is:

 -- PLAYER = audioplayer (Y, FS)
 -- PLAYER = audioplayer (Y, FS, NBITS)
 -- PLAYER = audioplayer (Y, FS, NBITS, ID)
 -- PLAYER = audioplayer (RECORDER)
 -- PLAYER = audioplayer (RECORDER, ID)


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?64379>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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