Short: AHI audio to AirPlay 2 and Google Cast Author: Andreas Wendorf (Akustikrausch) Uploader: akustikrausch gmail com (Andreas Wendorf) Type: mus/misc Version: 1.0.0 Requires: 68020+, AHI 4, bsdsocket TCP/IP Architecture: m68k-amigaos >= 3.0.0 BoingCast sends the Amiga's sound over the home network to AirPlay 2 and Google Cast receivers: Apple TV (4th generation and later), HomePod, a Mac (macOS AirPlay Receiver), AirPlay 2 speakers, AirPlay 1 receivers, Chromecast, Google TV and Android TV with Chromecast built in. It is a commodity. A small button with a checkered ball in the Workbench title bar opens a window with the receivers found on the network. Pick one, and every program that plays to the AHI audio mode "BoingCast: 44.1 kHz 16 bit stereo" plays there. The window is also reached through the Tools menu, the hotkey (ctrl alt b) and the ARexx port BOINGCAST. From the Shell: BoingCast , or BoingCast LIST. What it does ------------ - AirPlay 2: HomeKit pairing (SRP-6a 3072 bit, X25519, Ed25519), an encrypted control channel, and the sound as ALAC packets (lossless, 44.1 kHz, 16 bit, stereo), each sealed with ChaCha20-Poly1305. - Apple TV: shows a four-digit code once; BoingCast stores the pairing in ENVARC:BoingCast/. A HomePod needs no code. - Mac: no code when its AirPlay Receiver allows anyone on the same network. It may ask on its screen whether to accept the connection. Click "Accept" there; BoingCast waits 30 seconds for that. Set to "Current User" or with a password, it asks for a code. - Google Cast: no pairing. The receiver starts Google's media player, shows a BoingCast picture, and fetches the sound from a small HTTP server in BoingCast as uncompressed 44.1 kHz 16-bit WAV. The TV shows a title: the WAV file's name, a text set over ARexx, or (tooltype TITLE=HIPPO) HippoPlayer's module name. - Receivers are found by mDNS (needs a stack with multicast, for example Roadshow) when the window opens and once a minute while it is open. Receivers can also be added by address. - Bass (up to +12 dB) and treble (-12 to +6 dB) for the receiver. Off, the sound goes out bit for bit. - Mirror mode: plays on the receiver and on the Amiga's own output at the same time, in step: through any AHI card, picked by name, or directly on an AmiGUS card. With "Play here anyway", it plays there without a receiver too. A slider (-500..+1000 ms) matches the two by ear. - AirPods: pair them with an Apple TV (Settings, Remotes and Devices, Bluetooth), then stream BoingCast to that Apple TV, and the Amiga plays in the AirPods. - PowerPC: on a BlizzardPPC or CyberStorm PPC with WarpOS, the pairing calculations (and, where it is faster, the stream encryption) run on the PowerPC. Each PowerPC calculation must give known results first. - WAV files: drop one on the AppIcon, use Playback > Play file..., or ARexx PLAY. - 15 languages: English, Deutsch, Polski, Francais, Espanol, Italiano, Suomi, Svenska, Dansk, Cestina, Slovencina, Magyar, Russian, Greek, Turkce. The translations are drafts; corrections are welcome. The sound arrives about two seconds late (the receivers buffer). That is fine for music and demos, not for playing a game by ear. The AirPlay part is a C99 port of airplay2-sender-cpp by the same author, which was tested against Apple TV 4K, HomePod and macOS receivers. BoingCast itself has run on an A1200 (PiStorm32 Lite) with an Apple TV 4K, the macOS receiver and a Google TV. Requirements ------------ - AmigaOS 3.0 or newer, AHI 4 or newer. - 68020 or better. Recommended for AirPlay 2: 68040 at 40 MHz or faster, 68060 or PiStorm. Recommended for Google Cast and AirPlay 1, which do not encrypt the sound: 68030 at 25 MHz or faster. - AirPlay 1 works with shairport-sync, the Apple TV 3 and older AirPlay speakers; current Apple devices need AirPlay 2. - A TCP/IP stack with bsdsocket.library and a network of about 180 KB/s (Ethernet, WiFi; a plipbox is too slow). Installation ------------ Unpack the archive and double-click Install. It copies the commodity to SYS:WBStartup or SYS:Tools/Commodities, the AHI driver to DEVS:AHI, its mode file to DEVS:AudioModes, the catalogs to LOCALE:Catalogs and the manual to HELP:; with WarpOS also BoingCast.ppc. Then choose the audio mode "BoingCast: 44.1 kHz 16 bit stereo" in the AHI preferences for the unit your player uses. Run Install again and choose "Remove" to uninstall. The manual (BoingCast.guide) covers the window, settings, tooltypes, ARexx, the Shell and common problems. License ------- Apache License 2.0. (c) 2026 Andreas Wendorf (Akustikrausch). Source: https://github.com/akustikrausch/boingcast Built on the author's own projects: - AirPlay engine: airplay2-sender-cpp by Andreas Wendorf (Akustikrausch), Apache License 2.0, https://github.com/akustikrausch/airplay2-sender-cpp - Google Cast: from FXChainPlayer by Andreas Wendorf (Akustikrausch), https://github.com/akustikrausch/FXChainPlayer-Releases - AmiGUS output: after ProTracker 4.1 by Andreas Wendorf (Akustikrausch), https://github.com/akustikrausch/protracker4 Third-party parts: pyatv (MIT), pair_ap (MIT), orlp/ed25519 (zlib), poly1305-donna (public domain); see NOTICE and THIRD-PARTY-NOTICES.txt. The AmiGUS register layout follows the AmiGUS AHI driver's hardware header (christoph-fassbach/amigaos-AmiGUS, LGPL); no code of it is used. BoingCast is not affiliated with, authorized or endorsed by Apple Inc. or Google LLC. AirPlay, Apple TV, HomePod, HomeKit and macOS are trademarks of Apple Inc.; Google Cast, Chromecast, Google TV and Android TV are trademarks of Google LLC. They are used only to describe compatibility.