mirror of
https://code.videolan.org/videolan/vlc
synced 2024-09-04 09:11:33 +02:00
* modules/audio_output/waveout.c: compilation fix for builtins only build.
This commit is contained in:
parent
31a593872c
commit
8e2410ecb5
@ -2,7 +2,7 @@
|
||||
* waveout.c : Windows waveOut plugin for vlc
|
||||
*****************************************************************************
|
||||
* Copyright (C) 2001 VideoLAN
|
||||
* $Id: waveout.c,v 1.22 2003/04/07 16:02:08 gbazin Exp $
|
||||
* $Id: waveout.c,v 1.23 2003/04/08 21:26:22 gbazin Exp $
|
||||
*
|
||||
* Authors: Gildas Bazin <gbazin@netcourrier.com>
|
||||
*
|
||||
@ -93,9 +93,9 @@ typedef struct {
|
||||
#endif
|
||||
|
||||
#include <initguid.h>
|
||||
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 );
|
||||
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
|
||||
@ -474,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 = _KSDATAFORMAT_SUBTYPE_DOLBY_AC3_SPDIF;
|
||||
waveformat.SubFormat = __KSDATAFORMAT_SUBTYPE_DOLBY_AC3_SPDIF;
|
||||
break;
|
||||
|
||||
case VLC_FOURCC('f','l','3','2'):
|
||||
@ -482,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 = _KSDATAFORMAT_SUBTYPE_IEEE_FLOAT;
|
||||
waveformat.SubFormat = __KSDATAFORMAT_SUBTYPE_IEEE_FLOAT;
|
||||
break;
|
||||
|
||||
case VLC_FOURCC('s','1','6','l'):
|
||||
@ -490,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 = _KSDATAFORMAT_SUBTYPE_PCM;
|
||||
waveformat.SubFormat = __KSDATAFORMAT_SUBTYPE_PCM;
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user