Skip to content

Commit

Permalink
update bundlex
Browse files Browse the repository at this point in the history
  • Loading branch information
mat-hek committed Jul 11, 2024
1 parent d59b213 commit e9a7464
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 10 deletions.
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ workflows:
- elixir/lint:
filters:
<<: *filters
cache-version: 2
- elixir/hex_publish:
requires:
- elixir/build_test
Expand Down
10 changes: 3 additions & 7 deletions lib/membrane_portaudio.ex
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,9 @@ defmodule Membrane.PortAudio do
"""
@spec print_devices() :: :ok
def print_devices() do
IO.inspect(list_devices(),
pretty: true,
limit: :infinity,
syntax_colors: IO.ANSI.syntax_colors()
)

:ok
list_devices()
|> inspect(pretty: true, limit: :infinity, syntax_colors: IO.ANSI.syntax_colors())
|> IO.puts()
end

@doc """
Expand Down
2 changes: 1 addition & 1 deletion lib/membrane_portaudio_plugin/sink.ex
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ defmodule Membrane.PortAudio.Sink do

@impl true
def handle_buffer(:input, %Buffer{payload: payload}, _ctx, %{native: native} = state) do
mockable(Native).write_data(payload, native)
apply(mockable(Native), :write_data, [payload, native])
{[], state}
end
end
3 changes: 2 additions & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ defmodule Membrane.PortAudio.Mixfile do
{:membrane_common_c, "~> 0.16.0"},
{:bunch, "~> 1.5"},
{:membrane_raw_audio_format, "~> 0.12.0"},
{:bundlex, "~> 1.5"},
{:unifex, "~> 1.2"},
{:bundlex, github: "membraneframework/bundlex", branch: "fix-warn", override: true},
{:membrane_precompiled_dependency_provider, "~> 0.1.0"},
# Testing
{:mockery, "~> 2.1", runtime: false},
Expand Down
2 changes: 1 addition & 1 deletion mix.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"bimap": {:hex, :bimap, "1.3.0", "3ea4832e58dc83a9b5b407c6731e7bae87458aa618e6d11d8e12114a17afa4b3", [:mix], [], "hexpm", "bf5a2b078528465aa705f405a5c638becd63e41d280ada41e0f77e6d255a10b4"},
"bunch": {:hex, :bunch, "1.6.1", "5393d827a64d5f846092703441ea50e65bc09f37fd8e320878f13e63d410aec7", [:mix], [], "hexpm", "286cc3add551628b30605efbe2fca4e38cc1bea89bcd0a1a7226920b3364fe4a"},
"bunch_native": {:hex, :bunch_native, "0.5.0", "8ac1536789a597599c10b652e0b526d8833348c19e4739a0759a2bedfd924e63", [:mix], [{:bundlex, "~> 1.0", [hex: :bundlex, repo: "hexpm", optional: false]}], "hexpm", "24190c760e32b23b36edeb2dc4852515c7c5b3b8675b1a864e0715bdd1c8f80d"},
"bundlex": {:hex, :bundlex, "1.5.2", "056ea30a2efb1005940d965e92b9d012c6f6f8f718c7c8272d317ad5db62b966", [:mix], [{:bunch, "~> 1.0", [hex: :bunch, repo: "hexpm", optional: false]}, {:elixir_uuid, "~> 1.2", [hex: :elixir_uuid, repo: "hexpm", optional: false]}, {:qex, "~> 0.5", [hex: :qex, repo: "hexpm", optional: false]}, {:req, ">= 0.4.0", [hex: :req, repo: "hexpm", optional: false]}, {:zarex, "~> 1.0", [hex: :zarex, repo: "hexpm", optional: false]}], "hexpm", "b8e3dcb61f29957e7dc2c6b9f7de255e258df95f90bd3c32838ede9718d2db0a"},
"bundlex": {:git, "https://github.com/membraneframework/bundlex.git", "465c57ed2d4c8a4573a73be00d59270037b93c0e", [branch: "fix-warn"]},
"bunt": {:hex, :bunt, "1.0.0", "081c2c665f086849e6d57900292b3a161727ab40431219529f13c4ddcf3e7a44", [:mix], [], "hexpm", "dc5f86aa08a5f6fa6b8096f0735c4e76d54ae5c9fa2c143e5a1fc7c1cd9bb6b5"},
"castore": {:hex, :castore, "1.0.8", "dedcf20ea746694647f883590b82d9e96014057aff1d44d03ec90f36a5c0dc6e", [:mix], [], "hexpm", "0b2b66d2ee742cb1d9cb8c8be3b43c3a70ee8651f37b75a8b982e036752983f1"},
"coerce": {:hex, :coerce, "1.0.1", "211c27386315dc2894ac11bc1f413a0e38505d808153367bd5c6e75a4003d096", [:mix], [], "hexpm", "b44a691700f7a1a15b4b7e2ff1fa30bebd669929ac8aa43cffe9e2f8bf051cf1"},
Expand Down

0 comments on commit e9a7464

Please sign in to comment.