File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -257,7 +257,7 @@ impl AudioBufferSourceNode {
257
257
assert_valid_time_value ( duration) ;
258
258
assert ! (
259
259
!self . source_started,
260
- "InvalidStateError: Cannot call `start` twice"
260
+ "InvalidStateError - Cannot call `start` twice"
261
261
) ;
262
262
263
263
self . source_started = true ;
Original file line number Diff line number Diff line change @@ -131,13 +131,13 @@ impl AudioNode for DelayNode {
131
131
input : usize ,
132
132
) -> & ' a dyn AudioNode {
133
133
if self . context ( ) != dest. context ( ) {
134
- panic ! ( "InvalidAccessError: Attempting to connect nodes from different contexts" ) ;
134
+ panic ! ( "InvalidAccessError - Attempting to connect nodes from different contexts" ) ;
135
135
}
136
136
if self . number_of_outputs ( ) <= output {
137
- panic ! ( "IndexSizeError: output port {} is out of bounds" , output) ;
137
+ panic ! ( "IndexSizeError - output port {} is out of bounds" , output) ;
138
138
}
139
139
if dest. number_of_inputs ( ) <= input {
140
- panic ! ( "IndexSizeError: input port {} is out of bounds" , input) ;
140
+ panic ! ( "IndexSizeError - input port {} is out of bounds" , input) ;
141
141
}
142
142
143
143
self . context ( ) . connect (
Original file line number Diff line number Diff line change @@ -268,13 +268,13 @@ pub trait AudioNode {
268
268
input : usize ,
269
269
) -> & ' a dyn AudioNode {
270
270
if self . context ( ) != dest. context ( ) {
271
- panic ! ( "InvalidAccessError: Attempting to connect nodes from different contexts" ) ;
271
+ panic ! ( "InvalidAccessError - Attempting to connect nodes from different contexts" ) ;
272
272
}
273
273
if self . number_of_outputs ( ) <= output {
274
- panic ! ( "IndexSizeError: output port {} is out of bounds" , output) ;
274
+ panic ! ( "IndexSizeError - output port {} is out of bounds" , output) ;
275
275
}
276
276
if dest. number_of_inputs ( ) <= input {
277
- panic ! ( "IndexSizeError: input port {} is out of bounds" , input) ;
277
+ panic ! ( "IndexSizeError - input port {} is out of bounds" , input) ;
278
278
}
279
279
280
280
self . context ( ) . connect (
You can’t perform that action at this time.
0 commit comments