File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed
src/content/insertable-streams/audio-processing/js Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -53,17 +53,14 @@ let abortController;
53
53
54
54
onmessage = async ( event ) => {
55
55
if ( event . data . command == 'abort' ) {
56
- console . log ( "WORKER : Got ABORT!" ) ;
57
56
abortController . abort ( ) ;
58
57
abortController = null ;
59
58
} else {
60
- console . log ( "WORKER : Got START!" ) ;
61
59
const source = event . data . source ;
62
60
const sink = event . data . sink ;
63
61
const transformer = new TransformStream ( { transform : lowPassFilter ( ) } ) ;
64
62
abortController = new AbortController ( ) ;
65
63
const signal = abortController . signal ;
66
- console . log ( "WORKER : SETTING UP PIPE!" ) ;
67
64
const promise = source . pipeThrough ( transformer , { signal} ) . pipeTo ( sink ) ;
68
65
promise . catch ( ( e ) => {
69
66
if ( signal . aborted ) {
You can’t perform that action at this time.
0 commit comments