Skip to content

Commit

Permalink
seeing if this helps web audio on ios
Browse files Browse the repository at this point in the history
  • Loading branch information
goldbuick committed Jan 1, 2025
1 parent 64131ee commit 9d76c01
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
3 changes: 3 additions & 0 deletions cafe/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,16 @@ import {
PlaneGeometry,
Points,
} from 'three'
import unmuteaudio from 'unmute-ios-audio'
import { vm_loadfile } from 'zss/device/api'
import { registerreadplayer } from 'zss/device/register'
import { enableaudio } from 'zss/device/synth'
import { Terminal } from 'zss/gadget/terminal'
import { ispresent } from 'zss/mapping/types'
import 'zss/platform'

unmuteaudio()

extend({
BufferGeometry,
Group,
Expand Down
1 change: 0 additions & 1 deletion cafe/manifest.webmanifest
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,5 @@
"theme_color": "#00A",
"start_url": "/",
"display": "fullscreen",
"orientation": "portait",
"icons": []
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@
"ts-extras": "^0.13.0",
"ts-jest": "^29.1.3",
"typescript": "^5.2.2",
"unmute-ios-audio": "^3.3.0",
"uqr": "^0.1.2",
"vite": "^5.4.11",
"vite-bundle-analyzer": "^0.13.1",
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5621,6 +5621,11 @@ universal-user-agent@^6.0.0:
resolved "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.1.tgz#15f20f55da3c930c57bddbf1734c6654d5fd35aa"
integrity sha512-yCzhz6FN2wU1NiiQRogkTQszlQSlpWaw8SvVegAc+bDxbzHgh1vX8uIe8OYyMH6DwH+sdTJsgMl36+mSMdRJIQ==

unmute-ios-audio@^3.3.0:
version "3.3.0"
resolved "https://registry.npmjs.org/unmute-ios-audio/-/unmute-ios-audio-3.3.0.tgz#94c0dd466175fa158defe11a36e9671a8735b9be"
integrity sha512-MmoCOrsS2gn3wLT2tT+hF56Q4V4kksIKn2LHrwAtX6umzQwQHDWSh1slMzH+0WuxTZ62s3w8/wsfIII1FQ7ACg==

update-browserslist-db@^1.1.1:
version "1.1.1"
resolved "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.1.1.tgz#80846fba1d79e82547fb661f8d141e0945755fe5"
Expand Down

0 comments on commit 9d76c01

Please sign in to comment.