Skip to content

Commit

Permalink
- Test streaming audio functionality.
Browse files Browse the repository at this point in the history
  • Loading branch information
Extrems committed Mar 19, 2024
1 parent 7e43ca2 commit 34a0ce9
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions cube/swiss/source/devices/gcloader/deviceHandler-gcloader.c
Original file line number Diff line number Diff line change
Expand Up @@ -311,10 +311,16 @@ bool deviceHandler_GCLoader_test() {
}
}
__device_gcloader.hwName = "GC Loader";
__device_gcloader.features |= FEAT_AUDIO_STREAMING;
__device_gcloader.features |= FEAT_AUDIO_STREAMING;
} else {
__device_gcloader.hwName = "GC Loader compatible";
__device_gcloader.features &= ~FEAT_AUDIO_STREAMING;

if (DVD_PrepareStreamAbs(&commandBlock, 32*1024, 0) == DVD_ERROR_OK &&
DVD_GetStreamErrorStatus(&commandBlock) == TRUE &&
DVD_CancelStream(&commandBlock) == DVD_ERROR_OK)
__device_gcloader.features |= FEAT_AUDIO_STREAMING;
else
__device_gcloader.features &= ~FEAT_AUDIO_STREAMING;
}
return true;
}
Expand Down

0 comments on commit 34a0ce9

Please sign in to comment.