Mercurial > mplayer.hg
comparison libao2/pl_surround.c @ 8741:46d21c0f36aa
(nicer) endianness fix for every plugin except pl_format
author | colin |
---|---|
date | Fri, 03 Jan 2003 15:12:18 +0000 |
parents | 9fc45fe0d444 |
children | 12b1790038b0 |
comparison
equal
deleted
inserted
replaced
8740:cd67631ae382 | 8741:46d21c0f36aa |
---|---|
106 if (ao_plugin_data.channels != 2) { | 106 if (ao_plugin_data.channels != 2) { |
107 fprintf(stderr, "pl_surround: source audio must have 2 channels, using passthrough mode\n"); | 107 fprintf(stderr, "pl_surround: source audio must have 2 channels, using passthrough mode\n"); |
108 pl_surround.passthrough = 1; | 108 pl_surround.passthrough = 1; |
109 return 1; | 109 return 1; |
110 } | 110 } |
111 if (ao_plugin_data.format != AFMT_S16_LE) { | 111 if (ao_plugin_data.format != AFMT_S16_NE) { |
112 fprintf(stderr, "pl_surround: I'm dumb and can only handle AFMT_S16_LE audio format, using passthrough mode\n"); | 112 fprintf(stderr, "pl_surround: I'm dumb and can only handle AFMT_S16_NE audio format, using passthrough mode\n"); |
113 pl_surround.passthrough = 1; | 113 pl_surround.passthrough = 1; |
114 return 1; | 114 return 1; |
115 } | 115 } |
116 | 116 |
117 pl_surround.passthrough = 0; | 117 pl_surround.passthrough = 0; |