diff options
| author | John Hurst <jhurst@cinecert.com> | 2021-08-26 20:42:53 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-26 20:42:53 -0700 |
| commit | b8c87905046423d7f04e9103ffb321a4d23870eb (patch) | |
| tree | 06ca1754874997abe9279e34b275ff5159e3d927 /src/SyncEncoder.h | |
| parent | 1ff08641353a1ff1887f223dc01310cc0167d8fe (diff) | |
| parent | fdd28f8bb3608978e75b27c5410db447396f361b (diff) | |
Merge pull request #10 from DolbyLaboratories/dolby/atmos_storage/asdcplib_integration/definitions_into_namespace
Put definitions inside their corresponding namespaces
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 |
