# SetSoundDeviceMode

## Description

Sets whether the app will allow background music from other apps to continue playing (mode=0) or silence other apps whilst this app is active (mode=1). Note that in mode 0 the device considers your app audio to be unimportant so will be silenced if the device ringer is set to silent.
This only works on iOS.

## Definition

SetSoundDeviceMode( mode )

void agk::SetSoundDeviceMode( int mode )

## Parameters

- mode - The sound mode to use (default=0)