Skip to content

Commit

Permalink
Merge pull request #4 from rwwagner90/patch-2
Browse files Browse the repository at this point in the history
setAudioTracks -> setPlaylistItems
  • Loading branch information
phiamo committed Feb 13, 2021
2 parents 221fda9 + 9caaa52 commit 8c671af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/audio-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export class AudioProvider {
}
}

async setAudioTracks(audioTracks: AudioTrack[], currentItem?: AudioTrack) {
async setPlaylistItems(audioTracks: AudioTrack[], currentItem?: AudioTrack) {
let currentPosition = 0;
let currentId = null;

Expand All @@ -73,7 +73,7 @@ export class AudioProvider {
};
}

return this.audioPlayer.setAudioTracks(audioTracks, options);
return this.audioPlayer.setPlaylistItems(audioTracks, options);
}

async addItem(audioTrack: AudioTrack) {
Expand Down

0 comments on commit 8c671af

Please sign in to comment.