-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add self_delimiting? field #4
Conversation
lib/membrane_opus.ex
Outdated
@@ -20,12 +20,9 @@ defmodule Membrane.Opus do | |||
|
|||
@type t :: %__MODULE__{ | |||
bitrate: bitrate_t, | |||
channels: channels_t | |||
channels: channels_t, | |||
self_delimiting?: boolean |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have documented what are bitrate
and channels
so maybe let's do sth similar with self_delimiting?
.
lib/membrane_opus.ex
Outdated
:channels | ||
] | ||
defstruct @enforce_keys | ||
defstruct [:bitrate, :channels, self_delimiting?: false] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't there be any defaults?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The defaults are nil
, meaning they are unknown
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We - missclick
e230170
to
6a70390
Compare
No description provided.