add chat sounds to middleware, expecting meta value of chat
This commit is contained in:
parent
a5ef0f46e5
commit
89f43c3b8b
1 changed files with 10 additions and 0 deletions
|
@ -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 => {
|
||||
|
|
Loading…
Reference in a new issue