Hello,
I'm facing some problems with respect to audio.
I'm trying to build phapi-test and make a test call.

I have a 2.2 release checked out on 27th september 2007 which has
support for PORTAUDIO.
When I build phapi-test here, I could able to listen audio for testcall.

Here are the excerpts from DefineWengoOptions.cmake

if (APPLE)
        option(OWSOUND_PORTAUDIO_SUPPORT "Build libsound with PortAudio
support" OFF)
else (APPLE)
        option(OWSOUND_PORTAUDIO_SUPPORT "Build libsound with PortAudio
support" ON)
endif (APPLE)

if (LINUX)
        option(PHAPI_SAMPLERATE_SUPPORT "Build phApi with libsamplerate
support" ON)
        option(PHAPI_AUDIO_ALSA_SUPPORT "Build phApi with ALSA support" ON)
        option(PHAPI_AUDIO_ARTS_SUPPORT "Build phApi with aRts support" OFF)
        option(PHAPI_AUDIO_ESD_SUPPORT "Build phApi with ESD support" OFF)
        option(PHAPI_AUDIO_OSS_SUPPORT "Build phApi with OSS support" ON)
else (LINUX)
        option(PHAPI_SAMPLERATE_SUPPORT "Build phApi with libsamplerate
support" OFF)
        option(PHAPI_AUDIO_ALSA_SUPPORT "Build phApi with ALSA support" OFF)
        option(PHAPI_AUDIO_ARTS_SUPPORT "Build phApi with aRts support" OFF)
        option(PHAPI_AUDIO_ESD_SUPPORT "Build phApi with ESD support" OFF)
        option(PHAPI_AUDIO_OSS_SUPPORT "Build phApi with OSS support" OFF)
endif (LINUX)

Here are the excerpts from CMakeCache.txt in build directory

//Path to a library.
ALSA_LIBRARIES:FILEPATH=/usr/lib/libasound.so

//Build phApi with ALSA support
PHAPI_AUDIO_ALSA_SUPPORT:BOOL=ON

//Build PortAudio with ALSA support
PORTAUDIO_ALSA_SUPPORT:BOOL=ON

//Advanced flag for variable: ALSA_LIBRARIES
ALSA_LIBRARIES-ADVANCED:INTERNAL=1

//alsa public definitions
alsa_DEFINITIONS:INTERNAL=
//alsa public include directories
alsa_INCLUDE_DIRS:INTERNAL=/usr/include
//alsa public libraries
alsa_LIBRARIES:INTERNAL=/usr/lib/libasound.so
//alsa public library directories
alsa_LIBRARY_DIRS:INTERNAL=/usr/lib
//alsa private library directories
alsa_PRIVATE_LIBRARY_DIRS:INTERNAL=


Now when I try to build phapi-test with 2.2 release in which PORTAUDIO
support is _NOT_ there, I _DON'T_ get any audio for test call.

Here are the excerpts from DefineWengoOptions.cmake

if (LINUX)
        option(PHAPI_SAMPLERATE_SUPPORT "Build phApi with libsamplerate
support" ON)
        option(PHAPI_AUDIO_ALSA_SUPPORT "Build phApi with ALSA support" ON)
        option(PHAPI_AUDIO_ARTS_SUPPORT "Build phApi with aRts support" OFF)
        option(PHAPI_AUDIO_ESD_SUPPORT "Build phApi with ESD support" OFF)
        option(PHAPI_AUDIO_OSS_SUPPORT "Build phApi with OSS support" ON)
else (LINUX)
        option(PHAPI_SAMPLERATE_SUPPORT "Build phApi with libsamplerate
support" OFF)
        option(PHAPI_AUDIO_ALSA_SUPPORT "Build phApi with ALSA support" OFF)
        option(PHAPI_AUDIO_ARTS_SUPPORT "Build phApi with aRts support" OFF)
        option(PHAPI_AUDIO_ESD_SUPPORT "Build phApi with ESD support" OFF)
        option(PHAPI_AUDIO_OSS_SUPPORT "Build phApi with OSS support" OFF)
endif (LINUX)

if (WIN32)
        option(FFMPEG_OLD_VERSION "Use the old version of ffmpeg" OFF)
        option(OWSOUND_PORTAUDIO_SUPPORT "Build libsound with PortAudio
support" ON)
endif (WIN32)

Here are the excerpts from CMakeCache.txt in build directory

//Path to a library.
ALSA_LIBRARIES:FILEPATH=/usr/lib/libasound.so

//Build phApi with ALSA support
PHAPI_AUDIO_ALSA_SUPPORT:BOOL=ON

//Advanced flag for variable: ALSA_LIBRARIES
ALSA_LIBRARIES-ADVANCED:INTERNAL=1

//alsa public definitions
alsa_DEFINITIONS:INTERNAL=
//alsa public include directories
alsa_INCLUDE_DIRS:INTERNAL=/usr/include
//alsa public libraries
alsa_LIBRARIES:INTERNAL=/usr/lib/libasound.so
//alsa public library directories
alsa_LIBRARY_DIRS:INTERNAL=/usr/lib
//alsa private library directories
alsa_PRIVATE_LIBRARY_DIRS:INTERNAL=

Please let me know whats going wrong here. Is that the ALSA libraries
are not located correctly?
I don't get any ' ALSA not found ' error while doing cmake.

Thanks
Mangesh


DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the 
property of Persistent Systems Ltd. It is intended only for the use of the 
individual or entity to which it is addressed. If you are not the intended 
recipient, you are not authorized to read, retain, copy, print, distribute or 
use this message. If you have received this communication in error, please 
notify the sender and delete all copies of this message. Persistent Systems 
Ltd. does not accept any liability for virus infected mails.
_______________________________________________
Wengophone-devel mailing list
[email protected]
http://dev.openwengo.com/mailman/listinfo/wengophone-devel

Reply via email to