# BeOS specifics

- DIGI_*/BeOS — Supported BeOS digital sound drivers.
- GFX_*/BeOS — Supported BeOS graphic drivers.
- MIDI_*/BeOS — Supported BeOS MIDI sound drivers.

In terms of file redistribution, the BeOS platform behaves practically the same as the DOS platform. Read section chapter "Dos specifics" in the manual to learn more about this.

Drivers GFX_*/BeOS
BeOS Allegro supports the following card parameters for the set_gfx_mode() function:

- GFX_TEXT
  This closes any graphics mode previously opened with set_gfx_mode.
- GFX_AUTODETECT
  Let Allegro pick an appropriate graphics driver.
- GFX_AUTODETECT_FULLSCREEN
  Autodetects a graphics driver, but will only use fullscreen drivers, failing if these are not available on current platform.
- GFX_AUTODETECT_WINDOWED
  Same as above, but uses only windowed drivers.
- GFX_SAFE
  Special driver for when you want to reliably set a graphics mode and don't really care what resolution. See the set_gfx_mode() documentation for details.
- GFX_BWINDOWSCREEN_ACCEL
  Fullscreen exclusive mode. Supports only resolutions higher or equal to 640x480, and uses hardware acceleration if available.
- GFX_BWINDOWSCREEN
  Works the same as GFX_BWINDOWSCREEN_ACCEL, but disables acceleration.
- GFX_BDIRECTWINDOW
  Fast windowed mode using the BDirectWindow class. Not all graphics cards support this.
- GFX_BWINDOW
  Normal windowed mode using the BWindow class. Slow but always works.
- GFX_BWINDOW_OVERLAY
  Fullscreen mode using BWindow with a BBitmap overlay. This mode isn't supported by all graphics cards, only supports 15, 16 and 32-bit color depths, but allows any fullscreen resolution, even low ones that are normally unavailable under BeOS.

> See also: set_gfx_mode.

Drivers DIGI_*/BeOS
The BeOS sound functions support the following digital soundcards:

>           DIGI_AUTODETECT      - let Allegro pick a digital sound driver
>           DIGI_NONE            - no digital sound
>           DIGI_BEOS            - BeOS digital output

> See also: detect_digi_driver, install_sound, install_sound_input.

Drivers MIDI_*/BeOS
The BeOS sound functions support the following MIDI soundcards:

>           MIDI_AUTODETECT      - let Allegro pick a MIDI sound driver
>           MIDI_NONE            - no MIDI sound
>           MIDI_BEOS            - BeOS MIDI output
>           MIDI_DIGMID          - sample-based software wavetable player

> See also: detect_midi_driver, install_sound, install_sound_input.

Back to contents