Lines Matching defs:the_Index
1206 void ACM::GetMP3FormatForIndex(const DWORD the_Index, WAVEFORMATEX & the_Format, unsigned short the_String[ACMFORMATDETAILS_FORMAT_CHARS]) const
1212 if (the_Index < bitrate_table.size())
1218 // the_Format.nChannels = SIZE_CHANNEL_MODE - int(the_Index % SIZE_CHANNEL_MODE);
1222 the_Format.nSamplesPerSec = bitrate_table[the_Index].frequency;
1223 the_Format.nAvgBytesPerSec = bitrate_table[the_Index].bitrate * 1000 / 8;
1224 if (bitrate_table[the_Index].frequency >= mpeg1_freq[SIZE_FREQ_MPEG1-1])
1229 the_Format.nChannels = bitrate_table[the_Index].channels;
1235 tmpFormat->fdwFlags = 2 + ((bitrate_table[the_Index].mode == vbr_abr)?0:2);
1241 if (bitrate_table[the_Index].mode == vbr_abr)
1250 void ACM::GetPCMFormatForIndex(const DWORD the_Index, WAVEFORMATEX & the_Format, unsigned short the_String[ACMFORMATDETAILS_FORMAT_CHARS]) const
1252 the_Format.nChannels = SIZE_CHANNEL_MODE - int(the_Index % SIZE_CHANNEL_MODE);
1257 DWORD a_Channel_Independent = the_Index / SIZE_CHANNEL_MODE;