Skip to content

Commit

Permalink
Update README.md (#281)
Browse files Browse the repository at this point in the history
`start_link` returns a triple. A two-element tuple still works (i.e., plays the audio), but it throws a `MatchError`.
  • Loading branch information
harrisi authored Jul 23, 2024
1 parent ce726f1 commit 3489294
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion simple_pipeline/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 3489294

Please sign in to comment.