Browse Source

paex_read_write_wire: fix crossed initialization

MinGW complained.

Fixes ticket #256
tags/pa_stable_v190600_20161030
Phil Burk 3 years ago
parent
commit
f275c76ca9
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      examples/paex_read_write_wire.c

+ 2
- 1
examples/paex_read_write_wire.c View File

@@ -95,6 +95,7 @@ int main(void)
char *sampleBlock = NULL;
int i;
int numBytes;
int numChannels;

printf("patest_read_write_wire.c\n"); fflush(stdout);
printf("sizeof(int) = %lu\n", sizeof(int)); fflush(stdout);
@@ -117,7 +118,7 @@ int main(void)
printf( " LL: %g s\n", outputInfo->defaultLowOutputLatency );
printf( " HL: %g s\n", outputInfo->defaultHighOutputLatency );

int numChannels = inputInfo->maxInputChannels < outputInfo->maxOutputChannels
numChannels = inputInfo->maxInputChannels < outputInfo->maxOutputChannels
? inputInfo->maxInputChannels : outputInfo->maxOutputChannels;
printf( "Num channels = %d.\n", numChannels );


Loading…
Cancel
Save