add chat sounds to middleware, expecting meta value of chat
This commit is contained in:
@ -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 => {
|
||||
|
||||
Reference in New Issue
Block a user