Skip to content

Commit 866eca1

Browse files
authored
Remove platform/audio (#7774)
1 parent 31c2994 commit 866eca1

File tree

11 files changed

+8
-610
lines changed

11 files changed

+8
-610
lines changed

src/framework/components/sound/component.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Debug } from '../../../core/debug.js';
2-
import { DISTANCE_LINEAR } from '../../../platform/audio/constants.js';
2+
import { DISTANCE_LINEAR } from '../../../platform/sound/constants.js';
33
import { Component } from '../component.js';
44
import { SoundSlot } from './slot.js';
55

src/framework/components/sound/system.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Debug } from '../../../core/debug.js';
2-
import { hasAudioContext } from '../../../platform/audio/capabilities.js';
2+
import { hasAudioContext } from '../../../platform/sound/capabilities.js';
33
import { Component } from '../component.js';
44
import { ComponentSystem } from '../system.js';
55
import { SoundComponent } from './component.js';

src/framework/handlers/audio.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { path } from '../../core/path.js';
22
import { Debug } from '../../core/debug.js';
33
import { http, Http } from '../../platform/net/http.js';
4-
import { hasAudioContext } from '../../platform/audio/capabilities.js';
4+
import { hasAudioContext } from '../../platform/sound/capabilities.js';
55
import { Sound } from '../../platform/sound/sound.js';
66
import { ResourceHandler } from './handler.js';
77

src/index.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,6 @@ export { Plane } from './core/shape/plane.js';
102102
export { Tri } from './core/shape/tri.js';
103103
export { Ray } from './core/shape/ray.js';
104104

105-
// PLATFORM / AUDIO
106-
export * from './platform/audio/constants.js';
107-
108105
// PLATFORM / GRAPHICS
109106
export * from './platform/graphics/constants.js';
110107
export { createGraphicsDevice } from './platform/graphics/graphics-device-create.js';
@@ -152,6 +149,7 @@ export { getTouchTargetCoords, Touch, TouchEvent } from './platform/input/touch-
152149
export { http, Http } from './platform/net/http.js';
153150

154151
// PLATFORM / SOUND
152+
export * from './platform/sound/constants.js';
155153
export { SoundManager } from './platform/sound/manager.js';
156154
export { Sound } from './platform/sound/sound.js';
157155
export { SoundInstance } from './platform/sound/instance.js';

src/platform/audio/channel.js

Lines changed: 0 additions & 326 deletions
This file was deleted.

0 commit comments

Comments
 (0)