Skip to content

Commit a682cdd

Browse files
author
mpg123 GitHub bot
committed
Merge remote-tracking branch 'mpg123/master' into master-with-github-ci
2 parents 3c34e2a + 4a8592b commit a682cdd

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

NEWS

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
1.32.11
2+
------
3+
- libout123:
4+
-- modules/win32: Align waveOutGetDevCapsA to WAVEOUTCAPSA, in anticipation
5+
of some UNICODE change.
6+
17
1.32.10
28
------
39
- scripts/tag_lyrics.py: fix for python3 (thanks to cclauss,

src/include/out123.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
*/
2121
#define OUT123_API_VERSION 5
2222
/** library patch level at client build time */
23-
#define OUT123_PATCHLEVEL 1
23+
#define OUT123_PATCHLEVEL 2
2424

2525
/* We only need size_t definition. */
2626
#include <stddef.h>

src/libout123/modules/win32.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ static int get_formats_win32(out123_handle *ao)
172172
int ret = 0;
173173
UINT dev_id = dev_select(ao);
174174

175-
MMRESULT mr = waveOutGetDevCaps(dev_id, &caps, sizeof(caps));
175+
MMRESULT mr = waveOutGetDevCapsA(dev_id, &caps, sizeof(caps));
176176
if(mr != MMSYSERR_NOERROR)
177177
return 0; /* no formats? */
178178

@@ -367,7 +367,7 @@ static int enumerate_win32( out123_handle *ao, int (*store_device)(void *devlist
367367
for(i = 0; i < devices; i++){
368368
memset(id, 0, sizeof(id));
369369
memset(&caps, 0, sizeof(caps));
370-
mr = waveOutGetDevCaps(i, &caps, sizeof(caps));
370+
mr = waveOutGetDevCapsA(i, &caps, sizeof(caps));
371371
if (mr != MMSYSERR_NOERROR) {
372372
switch(mr) {
373373
case MMSYSERR_BADDEVICEID:

0 commit comments

Comments
 (0)