mirror of
https://gitee.com/openharmony/third_party_libsnd
synced 2024-11-23 09:59:54 +00:00
326e4533f3
Ogg: Introduce new functions ogg_sync_fseek(), ogg_ftell(), ogg_next_page(), ogg_stream_next_page(), ogg_sync_last_page_before(), and ogg_stream_unpack_page(). Use ogg_sync_* for ogg_read_first_page(). Bump libogg version requirement from 1.1.3 to 1.3.0 as LibOgg 1.3.0 is required for ogg_stream_pageout_fill() and ogg_stream_flush_fill(). Opus: Add opus support. Document added commands SFC_(GET|SET)_ORIGINAL_SAMPLERATE. Added or extended tests ogg_opus_test, compression_size_test, floating_point_test, lossy_comp_test, string_test, external_libs_test. Change Opus to non-experimental.
54 lines
1.1 KiB
YAML
54 lines
1.1 KiB
YAML
sudo: required
|
|
language: c
|
|
|
|
matrix:
|
|
include:
|
|
- os: linux
|
|
dist: xenial
|
|
compiler: clang
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- autogen
|
|
- libogg-dev
|
|
- libvorbis-dev
|
|
- libflac-dev
|
|
- libasound2-dev
|
|
- libopus-dev
|
|
- os: linux
|
|
dist: xenial
|
|
compiler: gcc
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- autogen
|
|
- libogg-dev
|
|
- libvorbis-dev
|
|
- libflac-dev
|
|
- libasound2-dev
|
|
- libopus-dev
|
|
|
|
- os: osx
|
|
compiler: clang
|
|
|
|
before_install:
|
|
- |
|
|
if [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then
|
|
brew update
|
|
brew install autogen flac libogg libvorbis opus
|
|
fi
|
|
|
|
install:
|
|
- true
|
|
|
|
script:
|
|
- mkdir cmake-build && (cd cmake-build && cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS="-Wall -Wextra" && make VERBOSE=1 && ctest -V)
|
|
- pwd
|
|
- ./autogen.sh
|
|
- |
|
|
if [[ "${CC}" == "clang" ]]; then
|
|
./configure --enable-werror && make clean all check && make distcheck
|
|
else
|
|
Scripts/asan-configure.sh --enable-werror && make clean all check && make distcheck
|
|
fi
|