audio-play icon indicating copy to clipboard operation
audio-play copied to clipboard

(node:36124) UnhandledPromiseRejectionWarning: Error: Argument should be an audio buffer

Open yusuf987 opened this issue 4 years ago • 0 comments

i am paasing array buffer and below error is happening please guide

(node:36124) UnhandledPromiseRejectionWarning: Error: Argument should be an audio buffer
    at Play (/Users/koenig/Documents/electron/TSP/node_modules/audio-play/index.js:12:36)
    at IpcMainImpl.<anonymous> (/Users/koenig/Documents/electron/TSP/main.js:29:18)
(node:36124) UnhandledPromiseRejectionWarning: Error: Argument should be an audio buffer
    at Play (/Users/koenig/Documents/electron/TSP/node_modules/audio-play/index.js:12:36)
    at IpcMainImpl.<anonymous> (/Users/koenig/Documents/electron/TSP/main.js:29:18)
(node:36124) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
(node:36124) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
^Ckoenigs-MacBook-Air-2:TSP koenig$ npm start

yusuf987 avatar Feb 16 '20 05:02 yusuf987