@@ -245,7 +245,7 @@ pub trait AudioNode {
245245 /// This function will panic when
246246 /// - the AudioContext of the source and destination does not match
247247 fn connect < ' a > ( & self , dest : & ' a dyn AudioNode ) -> & ' a dyn AudioNode {
248- self . connect_at ( dest, 0 , 0 )
248+ self . connect_from_output_to_input ( dest, 0 , 0 )
249249 }
250250
251251 /// Connect a specific output of this AudioNode to a specific input of another node.
@@ -256,7 +256,7 @@ pub trait AudioNode {
256256 /// - the AudioContext of the source and destination does not match
257257 /// - if the input port is out of bounds for the destination node
258258 /// - if the output port is out of bounds for the source node
259- fn connect_at < ' a > (
259+ fn connect_from_output_to_input < ' a > (
260260 & self ,
261261 dest : & ' a dyn AudioNode ,
262262 output : usize ,
@@ -340,7 +340,7 @@ pub trait AudioNode {
340340 /// - the AudioContext of the source and destination does not match
341341 /// - if the output port is out of bounds for the source node
342342 /// - the source node was not connected to the destination node
343- fn disconnect_dest_output ( & self , dest : & dyn AudioNode , output : usize ) {
343+ fn disconnect_dest_from_output ( & self , dest : & dyn AudioNode , output : usize ) {
344344 assert ! (
345345 self . context( ) == dest. context( ) ,
346346 "InvalidAccessError - Attempting to disconnect nodes from different contexts"
@@ -370,7 +370,12 @@ pub trait AudioNode {
370370 /// - if the input port is out of bounds for the destination node
371371 /// - if the output port is out of bounds for the source node
372372 /// - the source node was not connected to the destination node
373- fn disconnect_dest_output_input ( & self , dest : & dyn AudioNode , output : usize , input : usize ) {
373+ fn disconnect_dest_from_output_to_input (
374+ & self ,
375+ dest : & dyn AudioNode ,
376+ output : usize ,
377+ input : usize ,
378+ ) {
374379 assert ! (
375380 self . context( ) == dest. context( ) ,
376381 "InvalidAccessError - Attempting to disconnect nodes from different contexts"
0 commit comments