gstreamer_play 1.0.0 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ac76009104de8c5a51f2eba55866aa48a41f6aa953c2c1393b0a9c8b6b1435dd
4
- data.tar.gz: 56fc40c74fd0891f27e5f538e497b81d1b366943bd1d4b15d86dbb38def5be92
3
+ metadata.gz: a92209dbb0b3fc13daf25cd0a3127e4e03dea8df156dd04236cc1082b5aba9fb
4
+ data.tar.gz: 5c67bd206a02a31cb76614788a39fed3525c999091b69638d4e0614669729ad5
5
5
  SHA512:
6
- metadata.gz: d80b21610a6583f6e10043858cee7e0135b9682b6bff1d6622a7e052804c7727b801c5a7022b0850b4bb02e348305417a0972d947a401ab1423d8cde372cf04a
7
- data.tar.gz: f1d55496d0384f3c3e764cc63b59618133885b094e805a5c31c07e55a037a574937bc1dd6e64921b163648f7353afaff27dd0ed3802606c0e7e1dc9687b15f23
6
+ metadata.gz: 717e7af079a74cab84bb283b4403e88bdc32e6c3e2fdc4b7b5ee14c76c6b7d2658cdebdf2ff8a3a2165f0ce4acd9d7dc68a40738918989ef0a575e8dc93c64f4
7
+ data.tar.gz: f265d4a719d1be66a5c53898f91e31dafb55b41071e44c1c9846b6461c48b3e30ebd6debec8babff908ffa8413969bd0645a620973d59d8e723a70c0a4c2346f
data/CHANGELOG.md CHANGED
@@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [1.1.0] - 2026-11-03
11
+
12
+ ### Added
13
+
14
+ - GstBadAudio, defined from the typelibs that ship in the same package as this
15
+ gem's own. They need the same `gst_init` and the same search path, so they
16
+ are loaded here rather than given gems of their own -- which is what
17
+ ruby-gnome's gstreamer gem does for GstBase, GstController and GstAudio.
18
+ This closes the GstBadAudio gap on the project's Bindings board.
19
+
10
20
  ## [1.0.0] - 2026-11-03
11
21
 
12
22
  ### Added
@@ -0,0 +1,29 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Released under the Apache License, Version 2.0.
4
+ # Copyright, 2026, by General Intelligence Systems.
5
+
6
+ # GstBadAudio -- the audio elements that live in gst-plugins-bad, which Amberol and gnome-podcasts reach for.
7
+ #
8
+ # It lives here rather than in a gem of its own because `GstBadAudio-1.0.typelib`
9
+ # ships in the same package as GstPlay's, so this gem already pins everything
10
+ # it needs and already has gst_init run by GstPlay's loader. A separate gem
11
+ # would add a repository, a release and a dependency for twenty lines.
12
+ module GstBadAudio
13
+ LOG_DOMAIN = "GstBadAudio"
14
+ GLib::Log.set_log_domain(LOG_DOMAIN)
15
+
16
+ class Error < StandardError
17
+ end
18
+
19
+ # Modelled on ruby-gnome's gstreamer gem, which brings up GstBase,
20
+ # GstController and GstAudio behind Gst in exactly this way.
21
+ class Loader < GObjectIntrospection::Loader
22
+ def load
23
+ self.version = "1.0"
24
+ super("GstBadAudio")
25
+ end
26
+ end
27
+
28
+ Loader.new(self).load
29
+ end
@@ -60,10 +60,11 @@ module GstPlay
60
60
  end
61
61
 
62
62
  def require_libraries
63
- # Nothing yet. Hand-written Ruby that improves on what the typelib gives
64
- # -- an each that yields, a to_s, a keyword-argument constructor -- goes
65
- # in files required from here, which is the convention ruby-gnome uses
66
- # for exactly that purpose.
63
+ # GstBadAudio ship in the same package as GstPlay and need the same
64
+ # gst_init, so they are brought up here rather than given gems of their
65
+ # own. This is what ruby-gnome's gstreamer gem does for GstBase,
66
+ # GstController and GstAudio.
67
+ require_relative "gstbadaudio"
67
68
  end
68
69
  end
69
70
  end
@@ -4,5 +4,5 @@
4
4
  # Copyright, 2026, by General Intelligence Systems.
5
5
 
6
6
  module GstreamerPlay
7
- VERSION = "1.0.0"
7
+ VERSION = "1.1.0"
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gstreamer_play
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Kidd
@@ -68,6 +68,7 @@ files:
68
68
  - NOTICE
69
69
  - README.md
70
70
  - lib/gstreamer_play.rb
71
+ - lib/gstreamer_play/gstbadaudio.rb
71
72
  - lib/gstreamer_play/loader.rb
72
73
  - lib/gstreamer_play/version.rb
73
74
  - lib/gstreamer_play/version.rb.erb