---
title: "setDefaultSoundEffectsDevice(_:)"
framework: Core Audio
role: symbol
role_heading: Instance Method
platforms: [macOS 15.0+]
path: "coreaudio/audiohardwaresystem/setdefaultsoundeffectsdevice(_:)"
---

# setDefaultSoundEffectsDevice(_:)

Set the defaultSoundEffectsDevice property.

## Declaration

```swift
func setDefaultSoundEffectsDevice(_ device: AudioHardwareDevice) throws
```

## Parameters

- `device`: An AudioHardwareDevice to use as the default sound effects audio device
