diff --git a/README.md b/README.md index edc2666..471e903 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ The plugin that captures and plays sound using the multiplatform PortAudio libra Add the following line to your `deps` in `mix.exs`. Run `mix deps.get`. ```elixir - {:membrane_portaudio_plugin, "~> 0.19.1"} + {:membrane_portaudio_plugin, "~> 0.19.2"} ``` This package depends on the [PortAudio](http://portaudio.com/) library. The precompiled build will be pulled and linked automatically. However, should there be any problems, consider installing it manually. diff --git a/lib/membrane_portaudio_plugin/source.ex b/lib/membrane_portaudio_plugin/source.ex index d999502..c456659 100644 --- a/lib/membrane_portaudio_plugin/source.ex +++ b/lib/membrane_portaudio_plugin/source.ex @@ -91,7 +91,8 @@ defmodule Membrane.PortAudio.Source do options |> Map.from_struct() |> Map.merge(%{ - native: nil + native: nil, + init_time: nil })} end @@ -103,8 +104,7 @@ defmodule Membrane.PortAudio.Source do latency: latency, sample_format: sample_format, channels: channels, - sample_rate: sample_rate, - init_time: nil + sample_rate: sample_rate } = state device_id = if device_id == :default, do: @pa_no_device, else: device_id diff --git a/mix.exs b/mix.exs index 58da17d..8548d2c 100644 --- a/mix.exs +++ b/mix.exs @@ -2,7 +2,7 @@ defmodule Membrane.PortAudio.Mixfile do use Mix.Project @github_url "https://github.com/membraneframework/membrane_portaudio_plugin" - @version "0.19.1" + @version "0.19.2" def project do [