Skip to content

Commit

Permalink
fix dsound_open() signature
Browse files Browse the repository at this point in the history
The error was introduced with commit 33f5edd where
plugout_dsound.c was not updated.

I wonder why the Windows build pipelines did not fail.
  • Loading branch information
mmitch committed May 16, 2024
1 parent 77d3ed3 commit 223e086
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugout_dsound.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ static DWORD writeMax; // Maximum amount we can write at once.
static WAVEFORMATEX wfx;
static DSBUFFERDESC dsbdesc;

static long dsound_open(enum plugout_endian *endian, long rate, long *buffer_bytes, const char *const filename)
static long dsound_open(enum plugout_endian *endian, long rate, long *buffer_bytes, const struct plugout_metadata metadata)
{
HRESULT hr;

UNUSED(filename);
UNUSED(metadata);

*endian = PLUGOUT_ENDIAN_NATIVE;

Expand Down

0 comments on commit 223e086

Please sign in to comment.