Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
a8b6aa37
Commit
a8b6aa37
authored
Apr 07, 2003
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/audio_output/directx.c, modules/audio_output/waveout.c: cosmetic changes.
parent
032fff9a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
26 deletions
+14
-26
modules/audio_output/directx.c
modules/audio_output/directx.c
+7
-13
modules/audio_output/waveout.c
modules/audio_output/waveout.c
+7
-13
No files found.
modules/audio_output/directx.c
View file @
a8b6aa37
...
...
@@ -2,7 +2,7 @@
* directx.c: Windows DirectX audio output method
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: directx.c,v 1.1
6 2003/03/30 18:14:36
gbazin Exp $
* $Id: directx.c,v 1.1
7 2003/04/07 16:02:08
gbazin Exp $
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
*
...
...
@@ -123,15 +123,9 @@ typedef struct {
}
WAVEFORMATEXTENSIBLE
,
*
PWAVEFORMATEXTENSIBLE
;
#endif
#ifndef KSDATAFORMAT_SUBTYPE_IEEE_FLOAT
DEFINE_GUID
(
KSDATAFORMAT_SUBTYPE_IEEE_FLOAT
,
WAVE_FORMAT_IEEE_FLOAT
,
0x0000
,
0x0010
,
0x80
,
0x00
,
0x00
,
0xaa
,
0x00
,
0x38
,
0x9b
,
0x71
);
#endif
#ifndef KSDATAFORMAT_SUBTYPE_PCM
DEFINE_GUID
(
KSDATAFORMAT_SUBTYPE_PCM
,
WAVE_FORMAT_PCM
,
0x0000
,
0x0010
,
0x80
,
0x00
,
0x00
,
0xaa
,
0x00
,
0x38
,
0x9b
,
0x71
);
#endif
#ifndef KSDATAFORMAT_SUBTYPE_DOLBY_AC3_SPDIF
DEFINE_GUID
(
KSDATAFORMAT_SUBTYPE_DOLBY_AC3_SPDIF
,
WAVE_FORMAT_DOLBY_AC3_SPDIF
,
0x0000
,
0x0010
,
0x80
,
0x00
,
0x00
,
0xaa
,
0x00
,
0x38
,
0x9b
,
0x71
);
#endif
DEFINE_GUID
(
_KSDATAFORMAT_SUBTYPE_IEEE_FLOAT
,
WAVE_FORMAT_IEEE_FLOAT
,
0x0000
,
0x0010
,
0x80
,
0x00
,
0x00
,
0xaa
,
0x00
,
0x38
,
0x9b
,
0x71
);
DEFINE_GUID
(
_KSDATAFORMAT_SUBTYPE_PCM
,
WAVE_FORMAT_PCM
,
0x0000
,
0x0010
,
0x80
,
0x00
,
0x00
,
0xaa
,
0x00
,
0x38
,
0x9b
,
0x71
);
DEFINE_GUID
(
_KSDATAFORMAT_SUBTYPE_DOLBY_AC3_SPDIF
,
WAVE_FORMAT_DOLBY_AC3_SPDIF
,
0x0000
,
0x0010
,
0x80
,
0x00
,
0x00
,
0xaa
,
0x00
,
0x38
,
0x9b
,
0x71
);
/*****************************************************************************
* notification_thread_t: DirectX event thread
...
...
@@ -657,7 +651,7 @@ static int CreateDSBuffer( aout_instance_t *p_aout, int i_format,
waveformat
.
Samples
.
wValidBitsPerSample
=
waveformat
.
Format
.
wBitsPerSample
;
waveformat
.
Format
.
wFormatTag
=
WAVE_FORMAT_DOLBY_AC3_SPDIF
;
waveformat
.
SubFormat
=
KSDATAFORMAT_SUBTYPE_DOLBY_AC3_SPDIF
;
waveformat
.
SubFormat
=
_
KSDATAFORMAT_SUBTYPE_DOLBY_AC3_SPDIF
;
break
;
case
VLC_FOURCC
(
'f'
,
'l'
,
'3'
,
'2'
):
...
...
@@ -665,7 +659,7 @@ static int CreateDSBuffer( aout_instance_t *p_aout, int i_format,
waveformat
.
Samples
.
wValidBitsPerSample
=
waveformat
.
Format
.
wBitsPerSample
;
waveformat
.
Format
.
wFormatTag
=
WAVE_FORMAT_IEEE_FLOAT
;
waveformat
.
SubFormat
=
KSDATAFORMAT_SUBTYPE_IEEE_FLOAT
;
waveformat
.
SubFormat
=
_
KSDATAFORMAT_SUBTYPE_IEEE_FLOAT
;
break
;
case
VLC_FOURCC
(
's'
,
'1'
,
'6'
,
'l'
):
...
...
@@ -673,7 +667,7 @@ static int CreateDSBuffer( aout_instance_t *p_aout, int i_format,
waveformat
.
Samples
.
wValidBitsPerSample
=
waveformat
.
Format
.
wBitsPerSample
;
waveformat
.
Format
.
wFormatTag
=
WAVE_FORMAT_PCM
;
waveformat
.
SubFormat
=
KSDATAFORMAT_SUBTYPE_PCM
;
waveformat
.
SubFormat
=
_
KSDATAFORMAT_SUBTYPE_PCM
;
break
;
}
...
...
modules/audio_output/waveout.c
View file @
a8b6aa37
...
...
@@ -2,7 +2,7 @@
* waveout.c : Windows waveOut plugin for vlc
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: waveout.c,v 1.2
1 2003/03/30 18:14:36
gbazin Exp $
* $Id: waveout.c,v 1.2
2 2003/04/07 16:02:08
gbazin Exp $
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
*
...
...
@@ -93,15 +93,9 @@ typedef struct {
#endif
#include <initguid.h>
#ifndef KKSDATAFORMAT_SUBTYPE_IEEE_FLOAT
DEFINE_GUID
(
KKSDATAFORMAT_SUBTYPE_IEEE_FLOAT
,
WAVE_FORMAT_IEEE_FLOAT
,
0x0000
,
0x0010
,
0x80
,
0x00
,
0x00
,
0xaa
,
0x00
,
0x38
,
0x9b
,
0x71
);
#endif
#ifndef KKSDATAFORMAT_SUBTYPE_PCM
DEFINE_GUID
(
KKSDATAFORMAT_SUBTYPE_PCM
,
WAVE_FORMAT_PCM
,
0x0000
,
0x0010
,
0x80
,
0x00
,
0x00
,
0xaa
,
0x00
,
0x38
,
0x9b
,
0x71
);
#endif
#ifndef KKSDATAFORMAT_SUBTYPE_DOLBY_AC3_SPDIF
DEFINE_GUID
(
KKSDATAFORMAT_SUBTYPE_DOLBY_AC3_SPDIF
,
WAVE_FORMAT_DOLBY_AC3_SPDIF
,
0x0000
,
0x0010
,
0x80
,
0x00
,
0x00
,
0xaa
,
0x00
,
0x38
,
0x9b
,
0x71
);
#endif
DEFINE_GUID
(
_KSDATAFORMAT_SUBTYPE_IEEE_FLOAT
,
WAVE_FORMAT_IEEE_FLOAT
,
0x0000
,
0x0010
,
0x80
,
0x00
,
0x00
,
0xaa
,
0x00
,
0x38
,
0x9b
,
0x71
);
DEFINE_GUID
(
_KSDATAFORMAT_SUBTYPE_PCM
,
WAVE_FORMAT_PCM
,
0x0000
,
0x0010
,
0x80
,
0x00
,
0x00
,
0xaa
,
0x00
,
0x38
,
0x9b
,
0x71
);
DEFINE_GUID
(
_KSDATAFORMAT_SUBTYPE_DOLBY_AC3_SPDIF
,
WAVE_FORMAT_DOLBY_AC3_SPDIF
,
0x0000
,
0x0010
,
0x80
,
0x00
,
0x00
,
0xaa
,
0x00
,
0x38
,
0x9b
,
0x71
);
/*****************************************************************************
* Local prototypes
...
...
@@ -480,7 +474,7 @@ static int OpenWaveOut( aout_instance_t *p_aout, int i_format,
waveformat
.
Samples
.
wValidBitsPerSample
=
waveformat
.
Format
.
wBitsPerSample
;
waveformat
.
Format
.
wFormatTag
=
WAVE_FORMAT_DOLBY_AC3_SPDIF
;
waveformat
.
SubFormat
=
K
KSDATAFORMAT_SUBTYPE_DOLBY_AC3_SPDIF
;
waveformat
.
SubFormat
=
_
KSDATAFORMAT_SUBTYPE_DOLBY_AC3_SPDIF
;
break
;
case
VLC_FOURCC
(
'f'
,
'l'
,
'3'
,
'2'
):
...
...
@@ -488,7 +482,7 @@ static int OpenWaveOut( aout_instance_t *p_aout, int i_format,
waveformat
.
Samples
.
wValidBitsPerSample
=
waveformat
.
Format
.
wBitsPerSample
;
waveformat
.
Format
.
wFormatTag
=
WAVE_FORMAT_IEEE_FLOAT
;
waveformat
.
SubFormat
=
K
KSDATAFORMAT_SUBTYPE_IEEE_FLOAT
;
waveformat
.
SubFormat
=
_
KSDATAFORMAT_SUBTYPE_IEEE_FLOAT
;
break
;
case
VLC_FOURCC
(
's'
,
'1'
,
'6'
,
'l'
):
...
...
@@ -496,7 +490,7 @@ static int OpenWaveOut( aout_instance_t *p_aout, int i_format,
waveformat
.
Samples
.
wValidBitsPerSample
=
waveformat
.
Format
.
wBitsPerSample
;
waveformat
.
Format
.
wFormatTag
=
WAVE_FORMAT_PCM
;
waveformat
.
SubFormat
=
K
KSDATAFORMAT_SUBTYPE_PCM
;
waveformat
.
SubFormat
=
_
KSDATAFORMAT_SUBTYPE_PCM
;
break
;
}
...
...
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