Skip to content

Commit

Permalink
[win32] fix build due to change of #21 (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
hkrn committed Jul 24, 2021
1 parent 4e22a0a commit 9f75edf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion win32/include/WASAPIAudioPlayer.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ class WASAPIAudioPlayer : public BaseAudioPlayer {
void internalTransitStatePaused(Error &error) override;
void internalTransitStateResumed(Error &error) override;
void internalTransitStateStopped(Error &error) override;
bool initializeClient(IMMDevice *device, const Description &desc, Error &error);
bool initializeClient(IMMDevice *device, const WAVDescription &desc, Error &error);
void destroyClient();
void createAudioRenderThread();
void createNullRenderThread();
Expand Down
2 changes: 1 addition & 1 deletion win32/src/WASAPIAudioPlayer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ WASAPIAudioPlayer::seek(const IAudioPlayer::Rational &value)
}

bool
WASAPIAudioPlayer::initializeClient(IMMDevice *device, const Description &desc, Error &error)
WASAPIAudioPlayer::initializeClient(IMMDevice *device, const WAVDescription &desc, Error &error)
{
const Format &format = desc.m_formatData;
WAVEFORMATEX requestFormat = {};
Expand Down

0 comments on commit 9f75edf

Please sign in to comment.