Too many arguments to function ‘JitterBuffer

Help
Anonymous
2007-11-16
2012-10-30
  • Anonymous - 2007-11-16

    tried to compile the recent SVN and got this error during compilation:

    /include -I. -o release/AudioOutput.o AudioOutput.cpp
    ../../speex/include/speex/speex_jitter.h: In constructor ‘AudioOutputSpeech::AudioOutputSpeech(ClientPlayer)’:
    ../../speex/include/speex/speex_jitter.h:123: error: too many arguments to function ‘JitterBuffer
    jitter_buffer_init()’
    AudioOutput.cpp:122: error: at this point in file

    please help ^^

     
    • Anonymous - 2007-11-17

      Well got that wrking with REvision 852.

      now Pulse audio wont compile , got the headers ( libpulse 0.9.5-7 lenny2 )

      release/PulseAudio.o: In function PulseAudioSystem::run()': PulseAudio.cpp:(.text+0x87): undefined reference topa_mainloop_run'
      release/PulseAudio.o: In function PulseAudioSystem::wakeup()': PulseAudio.cpp:(.text+0xc1): undefined reference topa_mainloop_get_api'
      release/PulseAudio.o: In function PulseAudioSystem::stream_callback(pa_stream*, void*)': PulseAudio.cpp:(.text+0x4c6): undefined reference topa_stream_get_state'
      PulseAudio.cpp:(.text+0x4d3): undefined reference to pa_stream_get_context' PulseAudio.cpp:(.text+0x4db): undefined reference topa_context_errno'
      PulseAudio.cpp:(.text+0x4e3): undefined reference to pa_strerror' release/PulseAudio.o: In functionPulseAudioSystem::write_callback(pa_stream, unsigned int, void)':
      PulseAudio.cpp:(.text+0x5c3): undefined reference to pa_stream_write' PulseAudio.cpp:(.text+0x633): undefined reference topa_stream_write'
      release/PulseAudio.o: In function PulseAudioSystem::read_callback(pa_stream*, unsigned int, void*)': PulseAudio.cpp:(.text+0x744): undefined reference topa_stream_peek'
      PulseAudio.cpp:(.text+0x7c7): undefined reference to pa_stream_drop' PulseAudio.cpp:(.text+0x87a): undefined reference topa_stream_drop'
      release/PulseAudio.o: In function PulseAudioSystem::query()': PulseAudio.cpp:(.text+0x13b7): undefined reference topa_context_get_server_info'
      PulseAudio.cpp:(.text+0x13bf): undefined reference to pa_operation_unref' PulseAudio.cpp:(.text+0x13d6): undefined reference topa_context_get_sink_info_list'
      PulseAudio.cpp:(.text+0x13de): undefined reference to pa_operation_unref' PulseAudio.cpp:(.text+0x13f5): undefined reference topa_context_get_source_info_list'
      PulseAudio.cpp:(.text+0x13fd): undefined reference to pa_operation_unref' release/PulseAudio.o: In functionPulseAudioSystem::contextCallback(pa_context)':
      PulseAudio.cpp:(.text+0x16b6): undefined reference to pa_context_get_state' PulseAudio.cpp:(.text+0x1704): undefined reference topa_context_errno'
      PulseAudio.cpp:(.text+0x170c): undefined reference to pa_strerror' release/PulseAudio.o: In functionPulseAudioSystem::eventCallback(pa_mainloop_api
      , pa_defer_event*)':
      PulseAudio.cpp:(.text+0x1f19): undefined reference to pa_stream_get_state' PulseAudio.cpp:(.text+0x1fc6): undefined reference topa_stream_connect_playback'
      PulseAudio.cpp:(.text+0x202a): undefined reference to pa_stream_get_state' PulseAudio.cpp:(.text+0x20e8): undefined reference topa_stream_connect_record'
      PulseAudio.cpp:(.text+0x222f): undefined reference to pa_stream_get_state' PulseAudio.cpp:(.text+0x22c8): undefined reference topa_stream_connect_record'
      PulseAudio.cpp:(.text+0x2382): undefined reference to pa_stream_disconnect' PulseAudio.cpp:(.text+0x23a3): undefined reference topa_stream_unref'
      PulseAudio.cpp:(.text+0x23c6): undefined reference to pa_stream_new' PulseAudio.cpp:(.text+0x23dd): undefined reference topa_stream_set_state_callback'
      PulseAudio.cpp:(.text+0x23f4): undefined reference to pa_stream_set_read_callback' PulseAudio.cpp:(.text+0x2416): undefined reference topa_stream_unref'
      PulseAudio.cpp:(.text+0x2439): undefined reference to pa_stream_new' PulseAudio.cpp:(.text+0x2450): undefined reference topa_stream_set_state_callback'
      PulseAudio.cpp:(.text+0x2467): undefined reference to pa_stream_set_read_callback' PulseAudio.cpp:(.text+0x249d): undefined reference topa_stream_disconnect'
      PulseAudio.cpp:(.text+0x24f1): undefined reference to pa_stream_unref' PulseAudio.cpp:(.text+0x2514): undefined reference topa_stream_new'
      PulseAudio.cpp:(.text+0x252b): undefined reference to pa_stream_set_state_callback' PulseAudio.cpp:(.text+0x2542): undefined reference topa_stream_set_write_callback'
      PulseAudio.cpp:(.text+0x2568): undefined reference to pa_stream_disconnect' release/PulseAudio.o: In functionPulseAudioSystem::~PulseAudioSystem()':
      PulseAudio.cpp:(.text+0x2700): undefined reference to pa_mainloop_quit' release/PulseAudio.o: In functionPulseAudioSystem::~PulseAudioSystem()':
      PulseAudio.cpp:(.text+0x29e0): undefined reference to pa_mainloop_quit' release/PulseAudio.o: In functionPulseAudioSystem::~PulseAudioSystem()':
      PulseAudio.cpp:(.text+0x2cc0): undefined reference to pa_mainloop_quit' release/PulseAudio.o: In functionPulseAudioSystem::PulseAudioSystem()':
      PulseAudio.cpp:(.text+0x3067): undefined reference to pa_mainloop_new' PulseAudio.cpp:(.text+0x3072): undefined reference topa_mainloop_get_api'
      PulseAudio.cpp:(.text+0x3084): undefined reference to pa_context_new' PulseAudio.cpp:(.text+0x309b): undefined reference topa_context_set_state_callback'
      PulseAudio.cpp:(.text+0x30be): undefined reference to pa_context_connect' release/PulseAudio.o: In functionPulseAudioSystem::PulseAudioSystem()':
      PulseAudio.cpp:(.text+0x33e7): undefined reference to pa_mainloop_new' PulseAudio.cpp:(.text+0x33f2): undefined reference topa_mainloop_get_api'
      PulseAudio.cpp:(.text+0x3404): undefined reference to pa_context_new' PulseAudio.cpp:(.text+0x341b): undefined reference topa_context_set_state_callback'
      PulseAudio.cpp:(.text+0x343e): undefined reference to pa_context_connect' release/PulseAudio.o: In functionPulseAudioSystem::wakeup()':
      PulseAudio.cpp:(.text+0xe2): undefined reference to `pa_mainloop_wakeup'
      collect2: ld returned 1 exit status

      have fun ^^

       
    • Sebastian Schlingmann

      Pluseaudio compile works for me with pulseaudio 0.9.6.

      The errors you are experiencing are related to the build system not finding the pulseaudio library with the needed symbols. This might be related to the pulseaudio version or a non working pkg_config file.
      Do you get any PKG_CONFIG errors when running

      qmake -nocache -recursive main.pro

      in the root sourcedir?

       
    • Anonymous - 2007-11-17

      WEll when running taht i get an error that it doesnt know the option -recursive .
      tried without that and i get no output

       
    • Anonymous - 2007-11-17

      Uhmm yeah I rebooted my PC , and guess what , it compiled.

      Thanks for the help.

       

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks