Christian Costa : winemp3: Add missing sampling frequencies.
Alexandre Julliard
julliard at winehq.org
Mon Mar 30 12:08:42 CDT 2009
Module: wine
Branch: master
Commit: a513d401ac4f88c390e7b40cb796901a34fa9fd4
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a513d401ac4f88c390e7b40cb796901a34fa9fd4
Author: Christian Costa <titan.costa at wanadoo.fr>
Date: Sat Mar 28 11:14:23 2009 +0100
winemp3: Add missing sampling frequencies.
---
dlls/winemp3.acm/mpegl3.c | 18 ++++++++++++++----
1 files changed, 14 insertions(+), 4 deletions(-)
diff --git a/dlls/winemp3.acm/mpegl3.c b/dlls/winemp3.acm/mpegl3.c
index e0f0ebd..3ebd94c 100644
--- a/dlls/winemp3.acm/mpegl3.c
+++ b/dlls/winemp3.acm/mpegl3.c
@@ -75,16 +75,26 @@ static const Format PCM_Formats[] =
{
{1, 8, 8000}, {2, 8, 8000}, {1, 16, 8000}, {2, 16, 8000},
{1, 8, 11025}, {2, 8, 11025}, {1, 16, 11025}, {2, 16, 11025},
+ {1, 8, 12000}, {2, 8, 12000}, {1, 16, 12000}, {2, 16, 12000},
+ {1, 8, 16000}, {2, 8, 16000}, {1, 16, 16000}, {2, 16, 16000},
{1, 8, 22050}, {2, 8, 22050}, {1, 16, 22050}, {2, 16, 22050},
+ {1, 8, 24000}, {2, 8, 24000}, {1, 16, 24000}, {2, 16, 24000},
+ {1, 8, 32000}, {2, 8, 32000}, {1, 16, 32000}, {2, 16, 32000},
{1, 8, 44100}, {2, 8, 44100}, {1, 16, 44100}, {2, 16, 44100},
- {1, 8, 48000}, {2, 8, 48000}, {1, 16, 48000}, {2, 16, 48000},
+ {1, 8, 48000}, {2, 8, 48000}, {1, 16, 48000}, {2, 16, 48000}
};
static const Format MPEG3_Formats[] =
{
- {1, 0, 8000}, {2, 0, 8000}, {1, 0, 11025}, {2, 0, 11025},
- {1, 0, 22050}, {2, 0, 22050}, {1, 0, 44100}, {2, 0, 44100},
- {1, 0, 48000}, {2, 0, 48000},
+ {1, 0, 8000}, {2, 0, 8000},
+ {1, 0, 11025}, {2, 0, 11025},
+ {1, 0, 12000}, {2, 0, 12000},
+ {1, 0, 16000}, {2, 0, 16000},
+ {1, 0, 22050}, {2, 0, 22050},
+ {1, 0, 24000}, {2, 0, 24000},
+ {1, 0, 32000}, {2, 0, 32000},
+ {1, 0, 44100}, {2, 0, 44100},
+ {1, 0, 48000}, {2, 0, 48000}
};
#define NUM_PCM_FORMATS (sizeof(PCM_Formats) / sizeof(PCM_Formats[0]))
More information about the wine-cvs
mailing list