Skip to content

Commit

Permalink
out_dart: fix possible build failure.
Browse files Browse the repository at this point in the history
  • Loading branch information
sezero committed Apr 11, 2024
1 parent 175402e commit 345a6dd
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/player/out_dart.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@

#ifdef AUDIODRV_OS2DART

#undef VERSION /* stop conflict with os2medef.h */
#define INCL_DOS
#define INCL_DOSERRORS
#define INCL_OS2MM
Expand Down Expand Up @@ -130,9 +131,6 @@ static int open_dart_output(const char *output, unsigned int *rate) {
return (-1);
}

/*bsize = MixSetupParms.ulBufferSize;*/
/*printf("Dart Buffer Size = %lu\n", bsize);*/

BufferParms.ulNumBuffers = BUFFERCOUNT;
BufferParms.ulBufferSize = bsize;
BufferParms.pBufList = MixBuffers;
Expand All @@ -146,6 +144,10 @@ static int open_dart_output(const char *output, unsigned int *rate) {
return (-1);
}

/*
bsize = MixSetupParms.ulBufferSize;
printf("Dart Buffer Size = %lu\n", bsize);
*/
for (i = 0; i < BUFFERCOUNT; i++) {
MixBuffers[i].ulBufferLength = bsize;
}
Expand Down

0 comments on commit 345a6dd

Please sign in to comment.