mirror of https://github.com/FFmpeg/FFmpeg.git
These are the only WMA bits shared with binkaudio. Splitting them off reduces the binnkaudio dependency on general WMA code.pull/88/head
parent
803f8992f1
commit
f20518568a
8 changed files with 67 additions and 18 deletions
@ -0,0 +1,28 @@ |
||||
/*
|
||||
* This file is part of Libav. |
||||
* |
||||
* Libav is free software; you can redistribute it and/or |
||||
* modify it under the terms of the GNU Lesser General Public |
||||
* License as published by the Free Software Foundation; either |
||||
* version 2.1 of the License, or (at your option) any later version. |
||||
* |
||||
* Libav is distributed in the hope that it will be useful, |
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
||||
* Lesser General Public License for more details. |
||||
* |
||||
* You should have received a copy of the GNU Lesser General Public |
||||
* License along with Libav; if not, write to the Free Software |
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
||||
*/ |
||||
|
||||
#include <stdint.h> |
||||
|
||||
#include "wma_freqs.h" |
||||
|
||||
const uint16_t ff_wma_critical_freqs[25] = { |
||||
100, 200, 300, 400, 510, 630, 770, 920, |
||||
1080, 1270, 1480, 1720, 2000, 2320, 2700, 3150, |
||||
3700, 4400, 5300, 6400, 7700, 9500, 12000, 15500, |
||||
24500, |
||||
}; |
@ -0,0 +1,26 @@ |
||||
/*
|
||||
* This file is part of Libav. |
||||
* |
||||
* Libav is free software; you can redistribute it and/or |
||||
* modify it under the terms of the GNU Lesser General Public |
||||
* License as published by the Free Software Foundation; either |
||||
* version 2.1 of the License, or (at your option) any later version. |
||||
* |
||||
* Libav is distributed in the hope that it will be useful, |
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
||||
* Lesser General Public License for more details. |
||||
* |
||||
* You should have received a copy of the GNU Lesser General Public |
||||
* License along with Libav; if not, write to the Free Software |
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
||||
*/ |
||||
|
||||
#ifndef AVCODEC_WMA_FREQS_H |
||||
#define AVCODEC_WMA_FREQS_H |
||||
|
||||
#include <stdint.h> |
||||
|
||||
extern const uint16_t ff_wma_critical_freqs[25]; |
||||
|
||||
#endif /* AVCODEC_WMA_FREQS */ |
Loading…
Reference in new issue