Photon Voice
v2.7
|
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 | ( | Type | t | ) |
Create a new UnsupportedSampleTypeException.
- Parameters
-
t The sample type actually encountered.