Yotam Mann
aaf880c925
Using web-test-runner for tests, updating import paths ( #1242 )
...
* WIP moving tests to web-test-runner
* updating thresholds
* Adding file extensions
* Testing integrations
* linting
* fixing dep
* moving back to root dir
* prettier all of the files
* updating eslint rules to use with prettier
* remove import package
* moving tsignore around
* removing unneeded ignores
* all tests run on puppeteer, no need for testing guards
* linting
* import type syntax
* cleaning up
* Update package.json
2024-05-03 14:31:14 -04:00
Yotam Mann
3d42017f50
Deprecating singleton variables, use singleton getter instead ( #1233 )
...
* Deprecating singleton variables, use singleton getter instead
* updating references
* moving over to getters instead of global vars
2024-04-28 13:05:26 -04:00
Marcel Blum
a8ac712abf
ensuring close() is never called more than once on a context even before the async process completes; removing superfluous close() call on raw context in a test
2022-03-01 12:38:26 -05:00
Marcel Blum
fba875c809
include updateInterval check in Context constructor test
2021-12-01 12:19:03 -05:00
Yotam Mann
e055c0b47e
correcting typescript issues
2021-10-13 13:32:29 -04:00
Jack Anderson
16859ff2e2
allow JSON.stringify(context)
2020-12-31 17:56:02 -08:00
Yotam Mann
301f8cd9dc
adding createMediaElementSource
...
fixes #756
2020-10-02 10:28:57 -04:00
Yotam Mann
ba8e82b1ca
feat: latencyHint is now set in constructor
...
BREAK: the latencyHint can only be set in the constructor, no longer settable after construction
addresses #658
2020-05-12 12:31:17 -04:00
Yotam Mann
24fe9acc18
using standardized-audio-context in tests
2019-12-21 22:05:24 -05:00
Yotam Mann
d647c8b9c8
checking that the listener exists
2019-10-31 14:54:37 -04:00
Yotam Mann
91ae308e66
making sure that draw/transport/destination are disposed when the context is closed
2019-10-31 11:41:21 -04:00
Yotam Mann
6ac43559b1
testing that destination exists before closing
...
forces the context to initialize
2019-10-30 18:59:32 -04:00
Yotam Mann
559cdae1fb
added immediate
method
2019-10-29 14:29:52 -04:00
Yotam Mann
ba2af1fb03
creates a new AudioContext when Context is created
...
used to reuse same context.
2019-10-13 23:20:42 -04:00
Yotam Mann
81887b91a3
refactor: initialize Context when getting destination
or transport
2019-10-03 17:33:39 -04:00
Yotam Mann
142e169e74
initialize the context before closing it
2019-09-17 14:07:34 -04:00
Yotam Mann
e8e785ffdd
linting
2019-09-15 23:32:40 -04:00
Yotam Mann
61c9f191b6
removing calls to tslint
...
getting rid of tslint from project and using eslint instead
2019-09-14 18:06:46 -04:00
Yotam Mann
294ebeefe7
adding setInterval
...
similar to setTimeout, but the event repeats
2019-09-06 14:46:44 -04:00
Yotam Mann
ce88eb9b88
using createAudioContext and createOfflineAudioContext
...
easier to eventually move those to standardized-audio-context
2019-08-19 11:15:53 -07:00
Yotam Mann
219462fe9e
cleaning up circular deps
2019-07-11 09:57:06 -04:00
Yotam Mann
02cfefa7ef
Merge branch 'typescript' into fix-typescript-linting
2019-06-24 13:33:18 -04:00
tambien
de6b91c9d0
using global AudioContext created on init
2019-06-23 14:58:57 -04:00
Garren Smith
efbd3c7f5f
Fix linting issues
...
Also add in no-unused-expression-chai rule so that chai works with
tslint.
2019-06-23 12:53:57 +02:00
tambien
ab23f03e3f
using correct time source
2019-06-17 21:50:43 -04:00
tambien
730a818bcb
organizing into sub folders
2019-05-23 14:00:49 -04:00