Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
2951862b
Commit
2951862b
authored
Aug 29, 2000
by
Andreas Mohr
Committed by
Alexandre Julliard
Aug 29, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed verbose CD-ROM serial number warnings and some spelling errors.
parent
5b6bf340
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
mcicda.c
dlls/winmm/mcicda/mcicda.c
+2
-2
cdrom.c
misc/cdrom.c
+8
-8
No files found.
dlls/winmm/mcicda/mcicda.c
View file @
2951862b
...
@@ -503,7 +503,7 @@ static DWORD MCICDA_Status(UINT wDevID, DWORD dwFlags, LPMCI_STATUS_PARMS lpParm
...
@@ -503,7 +503,7 @@ static DWORD MCICDA_Status(UINT wDevID, DWORD dwFlags, LPMCI_STATUS_PARMS lpParm
TRACE
(
"MCI_STATUS_TIME_FORMAT=%08x!
\n
"
,
LOWORD
(
lpParms
->
dwReturn
));
TRACE
(
"MCI_STATUS_TIME_FORMAT=%08x!
\n
"
,
LOWORD
(
lpParms
->
dwReturn
));
ret
=
MCI_RESOURCE_RETURNED
;
ret
=
MCI_RESOURCE_RETURNED
;
break
;
break
;
case
4001
:
/* FIXME: for bog
g
us FullCD */
case
4001
:
/* FIXME: for bogus FullCD */
case
MCI_CDA_STATUS_TYPE_TRACK
:
case
MCI_CDA_STATUS_TYPE_TRACK
:
if
(
!
(
dwFlags
&
MCI_TRACK
))
if
(
!
(
dwFlags
&
MCI_TRACK
))
ret
=
MCIERR_MISSING_PARAMETER
;
ret
=
MCIERR_MISSING_PARAMETER
;
...
@@ -711,7 +711,7 @@ static DWORD MCICDA_Set(UINT wDevID, DWORD dwFlags, LPMCI_SET_PARMS lpParms)
...
@@ -711,7 +711,7 @@ static DWORD MCICDA_Set(UINT wDevID, DWORD dwFlags, LPMCI_SET_PARMS lpParms)
TRACE
(
"(%04X, %08lX, %p);
\n
"
,
wDevID
,
dwFlags
,
lpParms
);
TRACE
(
"(%04X, %08lX, %p);
\n
"
,
wDevID
,
dwFlags
,
lpParms
);
if
(
wmcda
==
NULL
)
return
MCIERR_INVALID_DEVICE_ID
;
if
(
wmcda
==
NULL
)
return
MCIERR_INVALID_DEVICE_ID
;
if
(
lpParms
==
NULL
)
return
MCIERR_NULL_PARAMETER_BLOCK
;
;
if
(
lpParms
==
NULL
)
return
MCIERR_NULL_PARAMETER_BLOCK
;
/*
/*
TRACE("dwTimeFormat=%08lX\n", lpParms->dwTimeFormat);
TRACE("dwTimeFormat=%08lX\n", lpParms->dwTimeFormat);
TRACE("dwAudio=%08lX\n", lpParms->dwAudio);
TRACE("dwAudio=%08lX\n", lpParms->dwAudio);
...
...
misc/cdrom.c
View file @
2951862b
...
@@ -362,13 +362,13 @@ BOOL CDROM_Audio_GetCDStatus(WINE_CDAUDIO* wcda)
...
@@ -362,13 +362,13 @@ BOOL CDROM_Audio_GetCDStatus(WINE_CDAUDIO* wcda)
wcda
->
sc
.
what
.
position
.
absaddr
.
msf
.
frame
;
wcda
->
sc
.
what
.
position
.
absaddr
.
msf
.
frame
;
#endif
#endif
#ifdef linux
#ifdef linux
TRACE
(
"%02u-%02u:%02u:%02u
\n
"
,
TRACE
(
"%02u-%02u:%02u:%02u
\n
"
,
wcda
->
sc
.
cdsc_trk
,
wcda
->
sc
.
cdsc_trk
,
wcda
->
sc
.
cdsc_absaddr
.
msf
.
minute
,
wcda
->
sc
.
cdsc_absaddr
.
msf
.
minute
,
wcda
->
sc
.
cdsc_absaddr
.
msf
.
second
,
wcda
->
sc
.
cdsc_absaddr
.
msf
.
second
,
wcda
->
sc
.
cdsc_absaddr
.
msf
.
frame
);
wcda
->
sc
.
cdsc_absaddr
.
msf
.
frame
);
#else
#else
TRACE
(
"%02u-%02u:%02u:%02u
\n
"
,
TRACE
(
"%02u-%02u:%02u:%02u
\n
"
,
wcda
->
sc
.
what
.
position
.
track_number
,
wcda
->
sc
.
what
.
position
.
track_number
,
wcda
->
sc
.
what
.
position
.
absaddr
.
msf
.
minute
,
wcda
->
sc
.
what
.
position
.
absaddr
.
msf
.
minute
,
wcda
->
sc
.
what
.
position
.
absaddr
.
msf
.
second
,
wcda
->
sc
.
what
.
position
.
absaddr
.
msf
.
second
,
...
@@ -588,9 +588,9 @@ DWORD CDROM_Audio_GetSerial(WINE_CDAUDIO* wcda)
...
@@ -588,9 +588,9 @@ DWORD CDROM_Audio_GetSerial(WINE_CDAUDIO* wcda)
/*
/*
* wMagic collects the wFrames from track 1
* wMagic collects the wFrames from track 1
* dwStart, dwEnd collect the begining and end of the disc respectively, in
* dwStart, dwEnd collect the begin
n
ing and end of the disc respectively, in
* frames.
* frames.
* There i
s
is collected for correcting the serial when there are less than
* There i
t
is collected for correcting the serial when there are less than
* 3 tracks.
* 3 tracks.
*/
*/
wMagic
=
0
;
wMagic
=
0
;
...
@@ -676,9 +676,9 @@ DWORD CDROM_GetSerial(int drive)
...
@@ -676,9 +676,9 @@ DWORD CDROM_GetSerial(int drive)
WINE_CDAUDIO
wcda
;
WINE_CDAUDIO
wcda
;
DWORD
serial
=
0
;
DWORD
serial
=
0
;
/* EXPIRES 01.01.200
1
*/
/* EXPIRES 01.01.200
2
*/
FIXME
(
"CD-ROM serial number calculation might fail.
\n
"
);
WARN
(
"CD-ROM serial number calculation might fail.
\n
"
);
FIXME
(
"Please test with as many exotic CDs as possible !
\n
"
);
WARN
(
"Please test with as many exotic CDs as possible !
\n
"
);
if
(
!
(
CDROM_Open
(
&
wcda
,
drive
)))
if
(
!
(
CDROM_Open
(
&
wcda
,
drive
)))
{
{
...
@@ -706,7 +706,7 @@ DWORD CDROM_GetSerial(int drive)
...
@@ -706,7 +706,7 @@ DWORD CDROM_GetSerial(int drive)
p
=
(
media
==
CDS_AUDIO
)
?
"Audio "
:
p
=
(
media
==
CDS_AUDIO
)
?
"Audio "
:
(
media
>
CDS_AUDIO
)
?
"Data "
:
""
;
(
media
>
CDS_AUDIO
)
?
"Data "
:
""
;
if
(
serial
)
if
(
serial
)
FIXM
E
(
"%sCD serial number is %04x-%04x.
\n
"
,
TRAC
E
(
"%sCD serial number is %04x-%04x.
\n
"
,
p
,
HIWORD
(
serial
),
LOWORD
(
serial
));
p
,
HIWORD
(
serial
),
LOWORD
(
serial
));
else
else
ERR
(
"couldn't get %sCD serial !
\n
"
,
p
);
ERR
(
"couldn't get %sCD serial !
\n
"
,
p
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment