Ignore:
Timestamp:
Mar 5, 2009 6:02:28 PM (15 years ago)
Author:
bennylp
Message:

Ticket #736 (aps-direct branch): implemented the compatibility layer for the old sound API

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/aps-direct/pjmedia/include/pjmedia-audiodev/config.h

    r2475 r2489  
    2525 * @brief Audio device API. 
    2626 */ 
    27 #include <pjmedia/port.h> 
     27#include <pjmedia/types.h> 
    2828#include <pj/pool.h> 
    2929 
     
    4747 */ 
    4848#ifndef PJMEDIA_AUDIO_DEV_HAS_PORTAUDIO 
    49 #   define PJMEDIA_AUDIO_DEV_HAS_PORTAUDIO      0 
     49#   define PJMEDIA_AUDIO_DEV_HAS_PORTAUDIO      1 
    5050#endif 
    5151 
     
    7272 */ 
    7373#ifndef PJMEDIA_AUDIO_DEV_HAS_SYMB_MDA 
    74 #   define PJMEDIA_AUDIO_DEV_HAS_SYMB_MDA       0 
    75 #endif 
     74#   define PJMEDIA_AUDIO_DEV_HAS_SYMB_MDA       PJ_SYMBIAN 
     75#endif 
     76 
     77 
     78/** 
     79 * This setting controls whether the Audio Device API should support 
     80 * device implementation that is based on the old sound device API 
     81 * (sound.h).  
     82 * 
     83 * Enable this API if: 
     84 *  - you have implemented your own sound device using the old sound 
     85 *    device API (sound.h), and 
     86 *  - you wish to be able to use your sound device implementation 
     87 *    using the new Audio Device API. 
     88 * 
     89 * Please see http://trac.pjsip.org/repos/wiki/Audio_Dev_API for more 
     90 * info. 
     91 */ 
     92#ifndef PJMEDIA_AUDIO_DEV_HAS_LEGACY_DEVICE 
     93#   define PJMEDIA_AUDIO_DEV_HAS_LEGACY_DEVICE  0 
     94#endif 
     95 
    7696 
    7797/** 
Note: See TracChangeset for help on using the changeset viewer.