diff options
Diffstat (limited to 'src/SyncEncoder.h')
| -rw-r--r-- | src/SyncEncoder.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/SyncEncoder.h b/src/SyncEncoder.h index 4b97f5a..fc84ebf 100644 --- a/src/SyncEncoder.h +++ b/src/SyncEncoder.h @@ -35,9 +35,8 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include "SyncCommon.h" #include "UUIDInformation.h" -#ifdef __cplusplus -extern "C" { -#endif +namespace ASDCP { + typedef struct SyncEncoder{ INT iSampleRate; /* Signal sample rate */ @@ -78,9 +77,7 @@ INT EncodeSync( LPSYNCENCODER pSyncEncoder, /* In: Sync encoder structure */ FLOAT *pfAudioBuffer, /* Out: Audio buffer with signal */ INT iFrameIndex); /* In: Frame Index */ -#ifdef __cplusplus -} /* extern "C" */ -#endif +} // namespace asdcp #endif |
