-
Notifications
You must be signed in to change notification settings - Fork 6.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[libsndfile] Update to 1.0.29 (#12921)
Co-authored-by: Billy Robert O'Neal III <[email protected]>
- Loading branch information
1 parent
4abea84
commit fd7e280
Showing
9 changed files
with
86 additions
and
175 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
Source: aubio | ||
Version: 0.4.9-1 | ||
Version: 0.4.9 | ||
Port-Version: 2 | ||
Homepage: https:/aubio/aubio | ||
Description: Aubio is a tool designed for the extraction of annotations from audio signals. Its features include segmenting a sound file before each of its attacks, performing pitch detection, tapping the beat and producing midi streams from live audio. | ||
Build-Depends: ffmpeg, libsndfile, libogg, libflac, libvorbis, bzip2, liblzma |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
diff --git a/src/file_io.c b/src/file_io.c | ||
index e5762ce8..90ef23d5 100644 | ||
--- a/src/file_io.c | ||
+++ b/src/file_io.c | ||
@@ -777,6 +777,21 @@ psf_open_handle (PSF_FILE * pfile) | ||
return NULL ; | ||
} ; | ||
|
||
+#if defined (WINAPI_FAMILY_PARTITION) && !WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM) | ||
+ if (!pfile->use_wchar) | ||
+ return NULL ; | ||
+ | ||
+ CREATEFILE2_EXTENDED_PARAMETERS cfParams = { 0 } ; | ||
+ cfParams.dwSize = sizeof (CREATEFILE2_EXTENDED_PARAMETERS) ; | ||
+ cfParams.dwFileAttributes = FILE_ATTRIBUTE_NORMAL ; | ||
+ | ||
+ handle = CreateFile2 (pfile->path.wc, dwDesiredAccess, dwShareMode, dwCreationDistribution, &cfParams) ; | ||
+ | ||
+ if (handle == INVALID_HANDLE_VALUE) | ||
+ return NULL ; | ||
+ | ||
+ return handle ; | ||
+#else | ||
if (pfile->use_wchar) | ||
handle = CreateFileW ( | ||
pfile->path.wc, /* pointer to name of the file */ | ||
@@ -802,6 +817,7 @@ psf_open_handle (PSF_FILE * pfile) | ||
return NULL ; | ||
|
||
return handle ; | ||
+#endif | ||
} /* psf_open_handle */ | ||
|
||
/* USE_WINDOWS_API */ static void | ||
-- | ||
2.27.0.windows.1 | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 0 additions & 13 deletions
13
ports/libsndfile/uwp-createfile-getfilesize-addendum.patch
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"name": "libsndfile", | ||
"version-string": "1.0.29", | ||
"port-version": 11, | ||
"description": "Library to read, write and manipulate many soundfile types. Authored by Eric de Castro Lopo", | ||
"homepage": "https:/erikd/libsndfile", | ||
"license": "LGPL-2.1", | ||
"default-features": [ | ||
"external-libs" | ||
], | ||
"features": [ | ||
{ | ||
"name": "external-libs", | ||
"description": "Default feature. Enables Ogg Vorbis, FLAC and Ogg Opus formats support.", | ||
"dependencies": [ | ||
"libflac", | ||
"libvorbis", | ||
"opus" | ||
] | ||
} | ||
] | ||
} |