---
name: "SDL_PauseAudio"
section: "3"
platform: "linux"
package: "libsdl1.2-dev"
version: "1.2.15+dfsg2-8"
release: "Debian 12 (Bookworm)"
platforms: ["linux"]
url: "https://new.carta.tech/SDL_PauseAudio"
---

# SDL\_PauseAudio(3)

Pauses and unpauses the audio callback processing

## NAME

SDL\_PauseAudio - Pauses and unpauses the audio callback processing

## SYNOPSIS

**#include "SDL.h"**

**void SDL\_PauseAudio**(**int pause\_on**);

## DESCRIPTION

This function pauses and unpauses the audio callback processing. It should be called with **pause\_on**=0 after opening the audio device to start playing sound. This is so you can safely initialize data for your callback function after opening the audio device. Silence will be written to the audio device during the pause.

## SEE ALSO

**SDL\_GetAudioStatus**, **SDL\_OpenAudio**
