[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gsoc2013 octave audio system
From: |
Vytautas Jancauskas |
Subject: |
Re: gsoc2013 octave audio system |
Date: |
Sat, 20 Apr 2013 11:55:45 +0300 |
On Sat, Apr 20, 2013 at 12:07 AM, John W. Eaton <address@hidden> wrote:
> On 04/19/2013 04:13 PM, Vytautas Jancauskas wrote:
>>
>> On Fri, Apr 19, 2013 at 2:42 AM, John W. Eaton<address@hidden> wrote:
>>>
>>> On 04/18/2013 05:36 PM, Vytautas Jancauskas wrote:
>>>
>>>> Thanks, I updated the code with these suggestions.
>>>> How come when I run audiodevinfo(1), args(0).is_integer_type() returns
>>>> 0? what check do I use to see if the argument is an integer?
>>>
>>>
>>>
>>> Because in Octave, a constant like 1 is a double precision value. This
>>> behavior is required for Matlab compatibility.
>>>
>>> But that doesn't matter much, you can extract an integer.
>>>
>>> Also, if possible, we avoid inquiring about value types. Instead,
>>> attempt
>>> to extract the type of value you want and check to see whether the
>>> operation
>>> succeeded.
>>>
>>> jwe
>>
>>
>> How do I check if that operation succeeded?
>
>
> Check error_state after the operation. Look at some examples from the
> Octave sources. Nearly every DEFUN function does this sort of operation.
>
> Also, please CC the mailing list.
>
> Thanks,
>
> jwe
Sorry, forgot to click Reply to all.
How important is matlab compatibility to octave users? Should it be
strived for even if solution becomes less than ideal?
- Re: gsoc2013 octave audio system, (continued)
- Re: gsoc2013 octave audio system, Vytautas Jancauskas, 2013/04/17
- Re: gsoc2013 octave audio system, pantxo diribarne, 2013/04/17
- Re: gsoc2013 octave audio system, Vytautas Jancauskas, 2013/04/17
- Re: gsoc2013 octave audio system, Mike Miller, 2013/04/17
- Message not available
- Fwd: gsoc2013 octave audio system, Vytautas Jancauskas, 2013/04/18
- Re: gsoc2013 octave audio system, Vytautas Jancauskas, 2013/04/18
- Re: gsoc2013 octave audio system, Mike Miller, 2013/04/18
- Re: gsoc2013 octave audio system, Jordi GutiƩrrez Hermoso, 2013/04/18
- Re: gsoc2013 octave audio system, Vytautas Jancauskas, 2013/04/18
- Re: gsoc2013 octave audio system, John W. Eaton, 2013/04/18
- Message not available
- Message not available
- Re: gsoc2013 octave audio system,
Vytautas Jancauskas <=
- Re: gsoc2013 octave audio system, Mike Miller, 2013/04/20
- Re: gsoc2013 octave audio system, Vytautas Jancauskas, 2013/04/21
- Re: gsoc2013 octave audio system, Doug Stewart, 2013/04/21
- Re: gsoc2013 octave audio system, Mike Miller, 2013/04/22
- Re: Re: gsoc2013 octave audio system, Pantxo Diribarne, 2013/04/22
- Re: Re: gsoc2013 octave audio system, maiky76, 2013/04/22
- Re: Re: gsoc2013 octave audio system, Vytautas Jancauskas, 2013/04/23
- Re: Re: gsoc2013 octave audio system, pantxo diribarne, 2013/04/23
- Re: Re: gsoc2013 octave audio system, Vytautas Jancauskas, 2013/04/23
- Re: Re: gsoc2013 octave audio system, Mike Miller, 2013/04/23