Skip to content
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

Merged
merged 1 commit into from
Oct 30, 2020
Merged

add self_delimiting? field #4

merged 1 commit into from
Oct 30, 2020

Conversation

mat-hek
Copy link
Member

@mat-hek mat-hek commented Oct 29, 2020

No description provided.

@mat-hek mat-hek requested a review from mickel8 October 29, 2020 12:20
@@ -20,12 +20,9 @@ defmodule Membrane.Opus do

@type t :: %__MODULE__{
bitrate: bitrate_t,
channels: channels_t
channels: channels_t,
self_delimiting?: boolean
Copy link
Member

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?.

:channels
]
defstruct @enforce_keys
defstruct [:bitrate, :channels, self_delimiting?: false]
Copy link
Member

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?

Copy link
Member Author

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

Copy link
Member

@mickel8 mickel8 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We - missclick

@mat-hek mat-hek changed the title add self_delimiting? field, remove enforce_keys add self_delimiting? field Oct 29, 2020
@mat-hek mat-hek requested a review from mickel8 October 29, 2020 15:04
@mat-hek mat-hek merged commit e9558d6 into master Oct 30, 2020
@mat-hek mat-hek deleted the self_delimiting branch October 30, 2020 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants