Photon Voice v2.53

Public Member Functions | List of all members
UnsupportedSampleTypeException Class Reference

Exception thrown if an unsupported audio sample type is encountered. More...

Inherits Exception.

Public Member Functions

 UnsupportedSampleTypeException (Type t)
 Create a new UnsupportedSampleTypeException. More...
 

Detailed Description

Exception thrown if an unsupported audio sample type is encountered.

PhotonVoice generally supports 32-bit floating point ("float") or 16-bit signed integer ("short") audio, but it usually won't be converted automatically due to the high CPU overhead (and potential loss of precision) involved.

Constructor & Destructor Documentation

◆ UnsupportedSampleTypeException()

Create a new UnsupportedSampleTypeException.

Parameters
tThe sample type actually encountered.