Ignore:
Timestamp:
Nov 19, 2015 4:03:00 AM (8 years ago)
Author:
ming
Message:

Re #1882 (misc): Configurable audio device name length

Thanks to Wolfgang Wallhäuser for the original patch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/include/pjmedia-audiodev/config.h

    r4537 r5201  
    4242 * @{ 
    4343 */ 
     44 
     45/** 
     46 * This setting controls the buffer length of audio device name. 
     47 * 
     48 * Default: 128 for Windows platforms, 64 for others 
     49 */ 
     50#ifndef PJMEDIA_AUD_DEV_INFO_NAME_LEN 
     51#   if (defined(PJ_WIN32) && PJ_WIN32!=0) || \ 
     52       (defined(PJ_WIN64) && PJ_WIN64!=0) 
     53#       define PJMEDIA_AUD_DEV_INFO_NAME_LEN 128 
     54#   else 
     55#       define PJMEDIA_AUD_DEV_INFO_NAME_LEN 64 
     56#   endif 
     57#endif 
    4458 
    4559/** 
Note: See TracChangeset for help on using the changeset viewer.