mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-23 20:58:55 -05:00
39f88b793d
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/trunk@249 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
36 lines
831 B
C++
36 lines
831 B
C++
#ifndef INCLUDED_PORTAUDIO_SAMPLEDATAFORMAT_HXX
|
|
#define INCLUDED_PORTAUDIO_SAMPLEDATAFORMAT_HXX
|
|
|
|
// ---------------------------------------------------------------------------------------
|
|
|
|
#include "portaudio.h"
|
|
|
|
// ---------------------------------------------------------------------------------------
|
|
|
|
namespace portaudio
|
|
{
|
|
|
|
|
|
//////
|
|
/// @brief PortAudio sample data formats.
|
|
///
|
|
/// Small helper enum to wrap the PortAudio defines.
|
|
//////
|
|
enum SampleDataFormat
|
|
{
|
|
INVALID_FORMAT = 0,
|
|
FLOAT32 = paFloat32,
|
|
INT32 = paInt32,
|
|
INT24 = paInt24,
|
|
INT16 = paInt16,
|
|
INT8 = paInt8,
|
|
UINT8 = paUInt8
|
|
};
|
|
|
|
|
|
} // namespace portaudio
|
|
|
|
// ---------------------------------------------------------------------------------------
|
|
|
|
#endif // INCLUDED_PORTAUDIO_SAMPLEDATAFORMAT_HXX
|