From b17ce18c2a808133d9772d7c8ce4ddc4ecf89b8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20K=C3=BChling?= Date: Thu, 2 Jun 2011 15:04:11 +0200 Subject: [PATCH] liballegro: add config file to configure audio out & midi synthesizer --- liballegro/Makefile | 3 ++- liballegro/files/allegrorc | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 liballegro/files/allegrorc diff --git a/liballegro/Makefile b/liballegro/Makefile index 03c6f94..2de99a6 100644 --- a/liballegro/Makefile +++ b/liballegro/Makefile @@ -226,8 +226,9 @@ define Build/InstallDev endef define Package/liballegro/install - $(INSTALL_DIR) $(1)/usr + $(INSTALL_DIR) $(1)/usr $(1)/etc $(CP) $(PKG_INSTALL_DIR)/usr/lib $(1)/usr + $(CP) ./files/allegrorc $(1)/etc/ endef define Package/liballegro-data/install diff --git a/liballegro/files/allegrorc b/liballegro/files/allegrorc new file mode 100644 index 0000000..ca0c3a2 --- /dev/null +++ b/liballegro/files/allegrorc @@ -0,0 +1,36 @@ +[system] +keyboard = us +language = en + +[mouse] +mouse = -1 + +[sound] +digi_card = ALSA +midi_card = DIGI +quality = 2 +digi_volume = -1 +midi_volume = 50 +digi_voices = 32 +midi_voices = 32 +flip_pan = 0 +sound_port = -1 +sound_dma = -1 +sound_irq = -1 +sound_freq = 44100 +sound_bits = 16 +sound_stereo = 1 +oss_driver = /dev/dsp +oss_numfrags = -1 +oss_fragsize = -1 +oss_midi_driver = /dev/sequencer +esd_server = +alsa_card = +alsa_pcmdevice = +alsa_numfrags = +alsa_rawmidi_card = +alsa_rawmidi_device = +patches = /usr/share/allegro/digmid.dat + +[joystick] +joytype = 0