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.
24 lines
817 B
YAML
24 lines
817 B
YAML
version: 1.0.29pre1-{build}
|
|
image: Visual Studio 2017
|
|
configuration: Debug
|
|
platform:
|
|
- Win32
|
|
- x64
|
|
install:
|
|
- if %platform%==Win32 set VCPKG_TRIPLET=x86-windows
|
|
- if %platform%==x64 set VCPKG_TRIPLET=x64-windows
|
|
- vcpkg install libogg:%VCPKG_TRIPLET% libvorbis:%VCPKG_TRIPLET% libflac:%VCPKG_TRIPLET% sqlite3:%VCPKG_TRIPLET% opus:%VCPKG_TRIPLET%
|
|
before_build:
|
|
- mkdir CMakeBuild
|
|
- cd CMakeBuild
|
|
- if %platform%==Win32 set CMAKE_GENERATOR=Visual Studio 15 2017
|
|
- if %platform%==x64 set CMAKE_GENERATOR=Visual Studio 15 2017 Win64
|
|
- cmake .. -G"%CMAKE_GENERATOR%" -DCMAKE_TOOLCHAIN_FILE=C:/Tools/vcpkg/scripts/buildsystems/vcpkg.cmake
|
|
build:
|
|
project: c:\projects\libsndfile\CMakeBuild\libsndfile.sln
|
|
verbosity: minimal
|
|
test_script:
|
|
- ctest -V
|
|
cache:
|
|
C:\Tools\vcpkg\Installed -> appveyor.yml
|