mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-13 14:51:37 +01:00
Broadcast radio receiver in the cab
Plays internet radio streams (http, mp3) through a positional emitter in the cab, with analog tuning, inter-station noise and two speaker profiles. Stations are listed in fmradio.txt, cab controls are defined with fmradio entries in the .mmd file. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -201,6 +201,10 @@ struct global_settings {
|
||||
int audio_max_sources = 30;
|
||||
std::string AudioRenderer;
|
||||
bool AudioAsyncLoad{ false }; // sound files are decoded by worker threads
|
||||
// broadcast radio receiver
|
||||
bool fmradio_enabled{ true }; // allows cab radio receivers to play internet radio streams
|
||||
bool fmradio_cleansound{ false }; // disables simulation of the receiver speaker
|
||||
std::string fmradio_stations{ "fmradio.txt" }; // list of stations available to the receivers
|
||||
// input
|
||||
float fMouseXScale{ 1.5f };
|
||||
float fMouseYScale{ 0.2f };
|
||||
|
||||
Reference in New Issue
Block a user