# MacOS X specifics

- DIGI_*/MacOSX
- GFX_*/MacOSX
- MIDI_*/MacOSX

Drivers GFX_*/MacOSX
MacOS X 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_QUARTZ_FULLSCREEN
  Fullscreen exclusive mode, using the CGDirectDisplay interface. Supports only resolutions higher or equal to 640x480, and uses hardware acceleration if available.
- GFX_QUARTZ_WINDOW
  Windowed mode using QuickDraw in a Cocoa window.

> See also: set_gfx_mode.

Drivers DIGI_*/MacOSX
The MacOS X sound functions support the following digital soundcards:

>           DIGI_AUTODETECT      - let Allegro pick a digital sound driver
>           DIGI_NONE            - no digital sound
>           DIGI_CORE_AUDIO      - CoreAudio digital output (OS >= X.2 required)
>           DIGI_SOUND_MANAGER   - Carbon Sound Manager digital output

> See also: detect_digi_driver, install_sound, install_sound_input.

Drivers MIDI_*/MacOSX
The MacOS X sound functions support the following MIDI soundcards:

>           MIDI_AUTODETECT      - let Allegro pick a MIDI sound driver
>           MIDI_NONE            - no MIDI sound
>           MIDI_CORE_AUDIO      - CoreAudio MIDI synthesizer (OS >= X.2 required)
>           MIDI_QUICKTIME       - QuickTime Music Note Allocator MIDI output
>           MIDI_DIGMID          - sample-based software wavetable player

> See also: detect_midi_driver, install_sound, install_sound_input.

Back to contents