# DragonFly Folder Guide

This folder is the preliminary DragonFly BSD target layer for `sfxlib`.

As in `gfxlib2`, the shared Unix layer remains the base and the target
directory provides a narrow DragonFly-specific shim.

## Files In This Folder

### `fb_sfx_dragonfly.h`
Small DragonFly backend header.

### `sfx_dragonfly.c`
DragonFly target shim.

Job:
- provides background feed scaffolding for unattended playback
- owns the DragonFly driver list
- provides weak capture fallbacks only when no concrete driver overrides them

### `sfx_driver_oss.c`
DragonFly OSS playback and capture driver.

Job:
- opens and configures `/dev/dsp`
- writes signed 16-bit PCM frames generated by the shared mixer
- reads signed 16-bit PCM capture frames from OSS input devices

Capture device selection:
- `SFXLIB_OSS_CAPTURE_DEVICE`
- `SFXLIB_BSD_OSS_CAPTURE_DEVICE`
- playback device fallback, normally `/dev/dsp`
