add chat sounds to middleware, expecting meta value of chat

This commit is contained in:
Curtis ROck 2020-09-03 21:51:54 -05:00
parent a5ef0f46e5
commit 89f43c3b8b

View file

@ -36,6 +36,16 @@ export default function soundsMiddleware() {
type: 'audio/mpeg',
},
]),
chat: createAudio([
{
src: '/sounds/chat.oga',
type: 'audio/ogg',
},
{
src: '/sounds/chat.mp3',
type: 'audio/mpeg',
},
]),
};
return () => next => action => {