linsyking/messenger-core/12.0.4

NOTE: the latest version is 20.0.0

Renamed to elm-messenger/messenger-core. That is where the repository lives now. It has not been published as a package under the new name.

Versions published as linsyking/messenger-core still install under that name. 34 versions of 52 come from the new location (see their notes). 7 versions could not be recovered and cannot be installed.

Rerouted (renamed, verified). The GitHub user or repository was renamed. The tag is still there, at the new name. The Lamdera package server serves a copy recovered from https://github.com/elm-messenger/messenger-core.

What we checked: The repo moved to github.com/elm-messenger/messenger-core. Rebuilt with git archive from commit f2d2cec021a1 of https://github.com/elm-messenger/messenger-core (zip prefix linsyking-messenger-core-f2d2cec/, America/Los_Angeles times): the zip is byte-identical to the one package.elm-lang.org recorded, SHA-1 7c7d2f5a184c44da02dcd0bbf7081a48d111b349.

The Lamdera compiler uses this copy and prints a one-line notice saying so. elm itself fails to download this version.

Details · package.elm-lang.org's zip: https://github.com/linsyking/messenger-core/zipball/12.0.4/

Messenger.Audio.Audio

Audio Module

You can play audio by emitting SOMPlayAudio message with the audio ID, a channel, and an option.

The channel is an integer that is used to identify the audio channel.

You can play different audio on the same channel at the same time. The previous audio will not be stopped.

However, when you stop the channel, all audio on the channel will be stopped.

If an audio is finished playing, it will be removed from the playing channel.

newAudioChannel : GlobalData userdata -> Int

Generate a new unique audio channel number.