#pragma once

#ifndef __DAC_H__
#define __DAC_H__

#include "devlegcy.h"

void dac_data_w(device_t *device, UINT8 data) ATTR_NONNULL(1);
void dac_signed_data_w(device_t *device, UINT8 data) ATTR_NONNULL(1);
void dac_data_16_w(device_t *device, UINT16 data) ATTR_NONNULL(1);
void dac_signed_data_16_w(device_t *device, UINT16 data) ATTR_NONNULL(1);

WRITE8_DEVICE_HANDLER( dac_w );
WRITE8_DEVICE_HANDLER( dac_signed_w );

DECLARE_LEGACY_SOUND_DEVICE(DAC, dac);

#endif /* __DAC_H__ */
