New Upstream Release - ocaml-fdkaac

Ready changes

Summary

Merged new upstream version: 0.3.3 (was: 0.3.3~gitd3393eb).

Diff

diff --git a/CHANGES b/CHANGES
index 82dbfce..589ed87 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,4 +1,4 @@
-0.3.3 (unreleased)
+0.3.3 (04-01-2022)
 =====
 * Bring back dynamic loader (#5)
 
diff --git a/debian/changelog b/debian/changelog
index 65285ca..79fd84e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+ocaml-fdkaac (0.3.3-1) UNRELEASED; urgency=low
+
+  * New upstream release.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Wed, 08 Feb 2023 02:40:38 -0000
+
 ocaml-fdkaac (0.3.3~gitd3393eb-1) unstable; urgency=medium
 
   * New upstream version (Closes: #962220)
diff --git a/dune-project b/dune-project
index 9326d06..07fe9b7 100644
--- a/dune-project
+++ b/dune-project
@@ -1,5 +1,5 @@
 (lang dune 2.9)
-(version 0.3.2)
+(version 0.3.3)
 (name fdkaac)
 (source (github savonet/ocaml-fdkaac))
 (license GPL-2.0)
@@ -14,6 +14,7 @@
  (synopsis "Fraunhofer FDK AAC Codec Library")
  (description "The FDK AAC Codec Library For Android contains an encoder implementation of the Advanced Audio Coding (AAC) audio codec.")
  (depends
+  conf-fdkaac
   dune
   dune-configurator)
 )
diff --git a/examples/wav2aac.ml b/examples/wav2aac.ml
index 9ba748f..704c390 100644
--- a/examples/wav2aac.ml
+++ b/examples/wav2aac.ml
@@ -171,12 +171,12 @@ let _ =
         output_string oc ret
       done
     with
-    | End_of_file -> ()
-    | Fdkaac.Encoder.Error _ as e ->
-        failwith
-          (match Fdkaac.Encoder.string_of_exception e with
-            | Some s -> s
-            | None -> "Unknown error.")
+      | End_of_file -> ()
+      | Fdkaac.Encoder.Error _ as e ->
+          failwith
+            (match Fdkaac.Encoder.string_of_exception e with
+              | Some s -> s
+              | None -> "Unknown error.")
   end;
   let ret =
     try Fdkaac.Encoder.flush enc
diff --git a/fdkaac.opam b/fdkaac.opam
index 119ca76..b522e28 100644
--- a/fdkaac.opam
+++ b/fdkaac.opam
@@ -1,6 +1,6 @@
 # This file is generated by dune, edit dune-project instead
 opam-version: "2.0"
-version: "0.3.2"
+version: "0.3.3"
 synopsis: "Fraunhofer FDK AAC Codec Library"
 description:
   "The FDK AAC Codec Library For Android contains an encoder implementation of the Advanced Audio Coding (AAC) audio codec."
@@ -10,6 +10,7 @@ license: "GPL-2.0"
 homepage: "https://github.com/savonet/ocaml-fdkaac"
 bug-reports: "https://github.com/savonet/ocaml-fdkaac/issues"
 depends: [
+  "conf-fdkaac"
   "dune" {>= "2.9"}
   "dune-configurator"
   "odoc" {with-doc}
@@ -31,12 +32,3 @@ build: [
   ["dune" "install" "-p" name "--create-install-files" name]
 ]
 dev-repo: "git+https://github.com/savonet/ocaml-fdkaac.git"
-depexts: [
-  ["fdk-aac-dev"] {os-distribution = "alpine"}
-  ["libfdk-aac"] {os-distribution = "arch"}
-  ["fdk-aac-devel"] {os-distribution = "centos"}
-  ["fdk-aac-devel"] {os-distribution = "fedora"}
-  ["fdk-aac-devel"] {os-family = "suse"}
-  ["libfdk-aac-dev"] {os-family = "debian"}
-  ["fdk-aac"] {os = "macos" & os-distribution = "homebrew"}
-]
diff --git a/fdkaac.opam.template b/fdkaac.opam.template
deleted file mode 100644
index 82e32a9..0000000
--- a/fdkaac.opam.template
+++ /dev/null
@@ -1,9 +0,0 @@
-depexts: [
-  ["fdk-aac-dev"] {os-distribution = "alpine"}
-  ["libfdk-aac"] {os-distribution = "arch"}
-  ["fdk-aac-devel"] {os-distribution = "centos"}
-  ["fdk-aac-devel"] {os-distribution = "fedora"}
-  ["fdk-aac-devel"] {os-family = "suse"}
-  ["libfdk-aac-dev"] {os-family = "debian"}
-  ["fdk-aac"] {os = "macos" & os-distribution = "homebrew"}
-]
diff --git a/src/fdkaac.ml b/src/fdkaac.ml
index d485b3c..21fd834 100644
--- a/src/fdkaac.ml
+++ b/src/fdkaac.ml
@@ -60,17 +60,12 @@ module Encoder = struct
 
   external info : enc -> info = "ocaml_fdkaac_info"
 
-  type t = {
-    enc : enc;
-    mutable info : info option;
-    buffer : Buffer.t;
-    chans : int;
-  }
+  type t = { enc : enc; mutable info : info option; buffer : Buffer.t }
 
   external create : int -> enc = "ocaml_fdkaac_init_enc"
 
   let create chans =
-    { enc = create chans; info = None; buffer = Buffer.create 1024; chans }
+    { enc = create chans; info = None; buffer = Buffer.create 1024 }
 
   type mpeg2_aac = [ `AAC_LC | `HE_AAC | `HE_AAC_v2 ]
   type mpeg4_aac = [ mpeg2_aac | `AAC_LD | `AAC_ELD ]

More details

Full run details

Historical runs