changeset 353:8cbc038b0547

removed old audio format printfs
author arpi_esp
date Wed, 11 Apr 2001 19:25:18 +0000
parents 94b8455bf69c
children 7de9e48c83a5
files aviprint.c
diffstat 1 files changed, 0 insertions(+), 16 deletions(-) [+]
line wrap: on
line diff
--- a/aviprint.c	Wed Apr 11 16:44:20 2001 +0000
+++ b/aviprint.c	Wed Apr 11 19:25:18 2001 +0000
@@ -33,7 +33,6 @@
 void print_wave_header(WAVEFORMATEX *h){
 
   printf("======= WAVE Format =======\n");
-  
   printf("Format Tag: %d (0x%X)\n",h->wFormatTag,h->wFormatTag);
   printf("Channels: %d\n",h->nChannels);
   printf("Samplerate: %d\n",h->nSamplesPerSec);
@@ -41,21 +40,6 @@
   printf("Block align: %d\n",h->nBlockAlign);
   printf("bits/sample: %d\n",h->wBitsPerSample);
   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);
-  }
-
 }