chansrv: sound, use WAVE_FORMAT_AAC not WAVE_FORMAT_AAC_MS

master
Jay Sorg 7 years ago committed by jsorg71
parent bf0d56c314
commit 021a78f4c6

@ -401,7 +401,7 @@
#define WAVE_FORMAT_MULAW 0x0007 #define WAVE_FORMAT_MULAW 0x0007
#define WAVE_FORMAT_MPEGLAYER3 0x0055 #define WAVE_FORMAT_MPEGLAYER3 0x0055
#define WAVE_FORMAT_OPUS 0x0069 #define WAVE_FORMAT_OPUS 0x0069
#define WAVE_FORMAT_AAC_MS 0xA106 #define WAVE_FORMAT_AAC 0xA106
/* Virtual channel options */ /* Virtual channel options */
#define XR_CHANNEL_OPTION_SHOW_PROTOCOL 0x00200000 #define XR_CHANNEL_OPTION_SHOW_PROTOCOL 0x00200000

@ -123,7 +123,7 @@ static struct xr_wave_format_ex g_pcm_44100 =
static tui8 g_fdk_aac_44100_data[] = { 0 }; static tui8 g_fdk_aac_44100_data[] = { 0 };
static struct xr_wave_format_ex g_fdk_aac_44100 = static struct xr_wave_format_ex g_fdk_aac_44100 =
{ {
WAVE_FORMAT_AAC_MS, /* wFormatTag */ WAVE_FORMAT_AAC, /* wFormatTag */
2, /* num of channels */ 2, /* num of channels */
44100, /* samples per sec */ 44100, /* samples per sec */
12000, /* avg bytes per sec */ 12000, /* avg bytes per sec */
@ -396,7 +396,7 @@ sound_process_output_format(int aindex, int wFormatTag, int nChannels,
switch(wFormatTag) switch(wFormatTag)
{ {
case WAVE_FORMAT_AAC_MS: case WAVE_FORMAT_AAC:
LOG(0, ("wFormatTag, fdk aac")); LOG(0, ("wFormatTag, fdk aac"));
g_client_does_fdk_aac = 1; g_client_does_fdk_aac = 1;
g_client_fdk_aac_index = aindex; g_client_fdk_aac_index = aindex;

Loading…
Cancel
Save