From 3489294ad4de23116446c617f3f6fa7f95f9bcb9 Mon Sep 17 00:00:00 2001 From: Ian Harris Date: Tue, 23 Jul 2024 07:37:13 -0700 Subject: [PATCH] Update README.md (#281) `start_link` returns a triple. A two-element tuple still works (i.e., plays the audio), but it throws a `MatchError`. --- simple_pipeline/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simple_pipeline/README.md b/simple_pipeline/README.md index 7cbafd41..a4418946 100644 --- a/simple_pipeline/README.md +++ b/simple_pipeline/README.md @@ -35,7 +35,7 @@ You may be asked to install `Hex` and then `rebar3`. To start the demo pipeline run `mix run --no-halt run.exs` or type the following commands into an IEx shell (started by `iex -S mix`): ```elixir -{:ok, _pid} = Membrane.Pipeline.start_link(Membrane.Demo.SimplePipeline, "sample.mp3") +{:ok, _supervisor, _pid} = Membrane.Pipeline.start_link(Membrane.Demo.SimplePipeline, "sample.mp3") ``` Should there be any errors when compiling the script's dependencies, you may need to install the some dependencies manually on your system: