We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b321e3 commit 944d142Copy full SHA for 944d142
package/expo-package/src/optionalDependencies/Sound.ts
@@ -21,7 +21,7 @@ export const Sound = {
21
playsInSilentMode: true,
22
});
23
const sound = new ExpoAudioSoundAdapter(source, initialStatus, onPlaybackStatusUpdate);
24
- await sound.loadAsync(source, initialStatus);
+ await sound.loadAsync(initialStatus);
25
return sound;
26
}
27
: AudioComponent
@@ -96,7 +96,7 @@ class ExpoAudioSoundAdapter {
96
};
97
98
// eslint-disable-next-line require-await
99
- loadAsync = async (source, initialStatus) => {
+ loadAsync = async (initialStatus) => {
100
this.initialShouldCorrectPitch = initialStatus.shouldCorrectPitch;
101
this.initialPitchCorrectionQuality = initialStatus.pitchCorrectionQuality;
102
0 commit comments