-
Notifications
You must be signed in to change notification settings - Fork 39
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
Rename handle_write and handle_process to handle_buffer #506
Conversation
8b3f050
to
d01817b
Compare
@@ -82,7 +82,7 @@ defmodule Membrane.Core.Element.BufferController do | |||
end | |||
|
|||
@doc """ | |||
Executes `handle_process_list` or `handle_write_list` callback. | |||
Executes `handle_buffer_list` or `handle_buffer_list` callback. |
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.
🤔
|
||
For pads in push mode it is invoked when buffers arrive. | ||
""" | ||
@callback handle_buffer_list( |
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.
Maybe it could be called handle_buffers
or handle_buffers_batch
or at least handle_buffers_list
?
@@ -48,6 +46,38 @@ defmodule Membrane.Element.WithInputPads do | |||
state :: Element.state_t() | |||
) :: Membrane.Element.Base.callback_return_t() | |||
|
|||
@doc """ | |||
Callback that is called when buffer should be written by the Element. |
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.
'written' seems no longer accurate
@@ -8,7 +8,7 @@ defmodule Membrane.Testing.SinkTest do | |||
test "demands when autodemand is true" do |
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 describe above is outdated
@@ -20,7 +20,7 @@ defmodule Membrane.Testing.EndpointTest do | |||
test "demands when autodemand is true" do |
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 describe above is outdated
b0c3f16
to
e72306d
Compare
Related Jira ticket: https://membraneframework.atlassian.net/browse/MC-139