Changeset 1530 for portaudio


Ignore:
Timestamp:
07/29/10 02:29:41 (6 weeks ago)
Author:
dmitrykos
Message:

jack:

  • fixed assertion in PA processor logics by informing processor that host format is non-interleaved (using paNonInterleaved flag) in PaUtil?_InitializeBufferProcessor
  • fixed rare timeout on WaitCondition? reported earlier by increasing timeout from 1 second to 10 minutes
File:
1 edited

Legend:

Unmodified
Added
Removed
  • portaudio/trunk/src/hostapi/jack/pa_jack.c

    r1346 r1530  
    10011001    struct timespec ts; 
    10021002 
    1003     ts.tv_sec = (time_t) floor( pt + 1 ); 
     1003    ts.tv_sec = (time_t) floor( pt + 10 * 60 /* 10 minutes */ ); 
    10041004    ts.tv_nsec = (long) ((pt - floor( pt )) * 1000000000); 
    10051005    /* XXX: Best enclose in loop, in case of spurious wakeups? */ 
     
    11781178 
    11791179        /* setup blocking API data structures (FIXME: can fail) */ 
    1180         BlockingBegin( stream, minimum_buffer_frames ); 
     1180        BlockingBegin( stream, minimum_buffer_frames ); 
    11811181 
    11821182        /* install our own callback for the blocking API */ 
     
    12771277                  inputChannelCount, 
    12781278                  inputSampleFormat, 
    1279                   paFloat32,            /* hostInputSampleFormat */ 
     1279                  paFloat32 | paNonInterleaved, /* hostInputSampleFormat */ 
    12801280                  outputChannelCount, 
    12811281                  outputSampleFormat, 
    1282                   paFloat32,            /* hostOutputSampleFormat */ 
     1282                  paFloat32 | paNonInterleaved, /* hostOutputSampleFormat */ 
    12831283                  jackSr, 
    12841284                  streamFlags, 
Note: See TracChangeset for help on using the changeset viewer.