Audaspace 1.5.0
A high level audio library.
Loading...
Searching...
No Matches
Classes | Typedefs | Enumerations
IHandle.h File Reference

Defines the IHandle interface as well as possible states of the handle. More...

#include "Audaspace.h"
Include dependency graph for IHandle.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

interface  IHandle
 The IHandle interface represents a playback handles of a specific device. More...
 

Typedefs

typedef void(* stopCallback) (void *)
 The stopCallback is called when a handle reaches the end of the stream and thus gets stopped.
 

Enumerations

enum  Status { STATUS_INVALID = 0 , STATUS_PLAYING , STATUS_PAUSED , STATUS_STOPPED }
 Status of a playback handle. More...
 

Detailed Description

Defines the IHandle interface as well as possible states of the handle.

Typedef Documentation

◆ stopCallback

typedef void(* stopCallback) (void *)

The stopCallback is called when a handle reaches the end of the stream and thus gets stopped.

A user defined pointer is supplied to the callback.

Enumeration Type Documentation

◆ Status

enum Status

Status of a playback handle.

Enumerator
STATUS_PLAYING 

Invalid handle. Maybe due to stopping.

STATUS_PAUSED 

Sound is playing.

STATUS_STOPPED 

Sound is being paused.

Sound is stopped but kept in the device.