Android tweeks
memory freeing tweeks batch data rearranged a little (to try to reduce memory). RBSP/FBSP fixed. lightstyles now supported. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4059 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
180432523d
commit
fe23d72d69
112 changed files with 5444 additions and 2443 deletions
|
@ -275,7 +275,7 @@ typedef struct {
|
|||
GUID SubFormat;
|
||||
} QWAVEFORMATEX;
|
||||
|
||||
const static GUID KSDATAFORMAT_SUBTYPE_PCM = {0x00000001,0x0000,0x0010,
|
||||
const static GUID QKSDATAFORMAT_SUBTYPE_PCM = {0x00000001,0x0000,0x0010,
|
||||
{0x80,
|
||||
0x00,
|
||||
0x00,
|
||||
|
@ -574,7 +574,7 @@ int DSOUND_InitCard (soundcardinfo_t *sc, int cardnum)
|
|||
{
|
||||
format.Format.wFormatTag = WAVE_FORMAT_EXTENSIBLE;
|
||||
format.Format.cbSize = 22;
|
||||
memcpy(&format.SubFormat, &KSDATAFORMAT_SUBTYPE_PCM, sizeof(GUID));
|
||||
memcpy(&format.SubFormat, &QKSDATAFORMAT_SUBTYPE_PCM, sizeof(GUID));
|
||||
|
||||
format.dwChannelMask = KSAUDIO_SPEAKER_7POINT1;
|
||||
sc->sn.numchannels = 8;
|
||||
|
@ -583,7 +583,7 @@ int DSOUND_InitCard (soundcardinfo_t *sc, int cardnum)
|
|||
{
|
||||
format.Format.wFormatTag = WAVE_FORMAT_EXTENSIBLE;
|
||||
format.Format.cbSize = 22;
|
||||
memcpy(&format.SubFormat, &KSDATAFORMAT_SUBTYPE_PCM, sizeof(GUID));
|
||||
memcpy(&format.SubFormat, &QKSDATAFORMAT_SUBTYPE_PCM, sizeof(GUID));
|
||||
|
||||
format.dwChannelMask = KSAUDIO_SPEAKER_5POINT1;
|
||||
sc->sn.numchannels = 6;
|
||||
|
@ -592,7 +592,7 @@ int DSOUND_InitCard (soundcardinfo_t *sc, int cardnum)
|
|||
{
|
||||
format.Format.wFormatTag = WAVE_FORMAT_EXTENSIBLE;
|
||||
format.Format.cbSize = 22;
|
||||
memcpy(&format.SubFormat, &KSDATAFORMAT_SUBTYPE_PCM, sizeof(GUID));
|
||||
memcpy(&format.SubFormat, &QKSDATAFORMAT_SUBTYPE_PCM, sizeof(GUID));
|
||||
|
||||
format.dwChannelMask = KSAUDIO_SPEAKER_QUAD;
|
||||
sc->sn.numchannels = 4;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue