Lines Matching refs:the_Format
1206 void ACM::GetMP3FormatForIndex(const DWORD the_Index, WAVEFORMATEX & the_Format, unsigned short the_String[ACMFORMATDETAILS_FORMAT_CHARS]) const
1214 // the_Format.wBitsPerSample = 16;
1215 the_Format.wBitsPerSample = 0;
1218 // the_Format.nChannels = SIZE_CHANNEL_MODE - int(the_Index % SIZE_CHANNEL_MODE);
1220 the_Format.nBlockAlign = 1;
1222 the_Format.nSamplesPerSec = bitrate_table[the_Index].frequency;
1223 the_Format.nAvgBytesPerSec = bitrate_table[the_Index].bitrate * 1000 / 8;
1229 the_Format.nChannels = bitrate_table[the_Index].channels;
1231 the_Format.cbSize = sizeof(MPEGLAYER3WAVEFORMAT) - sizeof(WAVEFORMATEX);
1232 MPEGLAYER3WAVEFORMAT * tmpFormat = (MPEGLAYER3WAVEFORMAT *) &the_Format;
1236 tmpFormat->nBlockSize = Block_size * the_Format.nAvgBytesPerSec / the_Format.nSamplesPerSec;
1242 wsprintfA( temp, "%d Hz, %d kbps ABR, %s", the_Format.nSamplesPerSec, the_Format.nAvgBytesPerSec * 8 / 1000, (the_Format.nChannels == 1)?"Mono":"Stereo");
1244 wsprintfA( temp, "%d Hz, %d kbps CBR, %s", the_Format.nSamplesPerSec, the_Format.nAvgBytesPerSec * 8 / 1000, (the_Format.nChannels == 1)?"Mono":"Stereo");
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);
1253 the_Format.wBitsPerSample = 16;
1254 the_Format.nBlockAlign = the_Format.nChannels * the_Format.wBitsPerSample / 8;
1262 the_Format.nSamplesPerSec = mpeg1_freq[a_Channel_Independent];
1267 the_Format.nSamplesPerSec = mpeg2_freq[a_Channel_Independent];
1270 the_Format.nAvgBytesPerSec = the_Format.nSamplesPerSec * the_Format.nChannels * the_Format.wBitsPerSample / 8;