Re: Cropped names of audio devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Had the same problem:

 

You need to inform that PJSIP should not use the old MMSystem-API of windows but the newer from Windows Vista “WASAPI”.

 

In wmme_dev.c:

 

#ifndef PJMEDIA_WMME_DEV_USE_MMDEVICE_API

#   if defined(_WIN32_WINNT) && (_WIN32_WINNT>=0x0600)

#      define PJMEDIA_WMME_DEV_USE_MMDEVICE_API 1

#   else

#      define PJMEDIA_WMME_DEV_USE_MMDEVICE_API 0

#   endif

#endif

 

_WIN32_WINNT should be at least 0x0600!

 

Cheers

Martin

 

Von: pjsip <pjsip-bounces@xxxxxxxxxxxxxxx> Im Auftrag von ????? ????????? via pjsip
Gesendet: Mittwoch, 16. Januar 2019 17:52
An: pjsip@xxxxxxxxxxxxxxx
Cc: Антон Каменский <antkamidiv@xxxxxxx>
Betreff: Cropped names of audio devices

 

Hi, guys!

I'm trying to compile pjsip project and I've faced one difficulty.
I've successfuly compiled project with MSVC 2015 and gcc 7.2 on my Windows 10.
But whatever I'm doing names of devices are cropped by 32 symbols.
I've set PJMEDIA_AUD_DEV_INFO_NAME_LEN to value of 128 in config_site.h with no result. I'm giving up.
Maybe somebody can tell me a solution for this riddle.

Thx in advance.

_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux