mirror of https://github.com/mpv-player/mpv
removed old audio format printfs
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@354 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
c2f8472e29
commit
69bf86446c
16
aviprint.c
16
aviprint.c
|
@ -33,7 +33,6 @@ void print_strh(AVIStreamHeader *h){
|
||||||
void print_wave_header(WAVEFORMATEX *h){
|
void print_wave_header(WAVEFORMATEX *h){
|
||||||
|
|
||||||
printf("======= WAVE Format =======\n");
|
printf("======= WAVE Format =======\n");
|
||||||
|
|
||||||
printf("Format Tag: %d (0x%X)\n",h->wFormatTag,h->wFormatTag);
|
printf("Format Tag: %d (0x%X)\n",h->wFormatTag,h->wFormatTag);
|
||||||
printf("Channels: %d\n",h->nChannels);
|
printf("Channels: %d\n",h->nChannels);
|
||||||
printf("Samplerate: %d\n",h->nSamplesPerSec);
|
printf("Samplerate: %d\n",h->nSamplesPerSec);
|
||||||
|
@ -41,21 +40,6 @@ void print_wave_header(WAVEFORMATEX *h){
|
||||||
printf("Block align: %d\n",h->nBlockAlign);
|
printf("Block align: %d\n",h->nBlockAlign);
|
||||||
printf("bits/sample: %d\n",h->wBitsPerSample);
|
printf("bits/sample: %d\n",h->wBitsPerSample);
|
||||||
printf("cbSize: %d\n",h->cbSize);
|
printf("cbSize: %d\n",h->cbSize);
|
||||||
|
|
||||||
switch(h->wFormatTag){
|
|
||||||
case 0x01: printf("Audio in PCM format\n");break;
|
|
||||||
case 0x50: printf("Audio in MPEG Layer 1/2 format\n");break;
|
|
||||||
case 0x55: printf("Audio in MPEG Layer-3 format\n");break; // ACM
|
|
||||||
case 0x02: printf("Audio in MS ADPCM format\n");break; // ACM
|
|
||||||
case 0x11: printf("Audio in IMA ADPCM format\n");break; // ACM
|
|
||||||
case 0x31:
|
|
||||||
case 0x32: printf("Audio in MS GSM 6.10 format\n");break; // ACM
|
|
||||||
case 0x75: printf("Audio in VoxWare format\n");break; // DShow
|
|
||||||
case 0x160:
|
|
||||||
case 0x161: printf("Audio in DivX WMA format\n");break; // ACM
|
|
||||||
default: printf("Audio in UNKNOWN (id=0x%X) format\n",h->wFormatTag);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue