oi_codec_version.c 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. /******************************************************************************
  2. *
  3. * Copyright (C) 2014 The Android Open Source Project
  4. * Copyright 2002 - 2004 Open Interface North America, Inc. All rights reserved.
  5. *
  6. * Licensed under the Apache License, Version 2.0 (the "License");
  7. * you may not use this file except in compliance with the License.
  8. * You may obtain a copy of the License at:
  9. *
  10. * http://www.apache.org/licenses/LICENSE-2.0
  11. *
  12. * Unless required by applicable law or agreed to in writing, software
  13. * distributed under the License is distributed on an "AS IS" BASIS,
  14. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  15. * See the License for the specific language governing permissions and
  16. * limitations under the License.
  17. *
  18. ******************************************************************************/
  19. /**
  20. @file
  21. This file contains a single function, which returns a string indicating the
  22. version number of the eSBC codec
  23. @ingroup codec_internal
  24. */
  25. /**
  26. @addtogroup codec_internal
  27. @{
  28. */
  29. /**********************************************************************************
  30. $Revision: #1 $
  31. ***********************************************************************************/
  32. #include "bt_target.h"
  33. #include "oi_stddefs.h"
  34. #include "oi_codec_sbc_private.h"
  35. #if (defined(SBC_DEC_INCLUDED) && SBC_DEC_INCLUDED == TRUE)
  36. /** Version string for the BLUEmagic 3.0 protocol stack and profiles */
  37. PRIVATE OI_CHAR *const codecVersion = "v1.5"
  38. #ifdef OI_SBC_EVAL
  39. " (Evaluation version)"
  40. #endif
  41. ;
  42. /** This function returns the version string for the BLUEmagic 3.0 protocol stack
  43. and profiles */
  44. OI_CHAR *OI_CODEC_Version(void)
  45. {
  46. return codecVersion;
  47. }
  48. /**********************************************************************************/
  49. /**
  50. @}
  51. */
  52. #endif /* #if (defined(SBC_DEC_INCLUDED) && SBC_DEC_INCLUDED == TRUE) */