diff options
| author | milla <marc.illa@dolby.com> | 2021-05-26 13:59:19 +0200 |
|---|---|---|
| committer | milla <marc.illa@dolby.com> | 2021-06-03 14:05:45 +0200 |
| commit | fdd28f8bb3608978e75b27c5410db447396f361b (patch) | |
| tree | 4fd3e9ff4fa808993214956dd5753f950a6a1e47 /src/SyncEncoder.h | |
| parent | f9d7fbc33aa571c547d916b145712469efd9f4b8 (diff) | |
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 |
