Forum

Results 1 to 3 of 3
  1. #1
    Join Date
    July 2011
    Posts
    3

    Assertion failed when using the plugin API

    Hi,

    I get an
    Code:
    Assertion "err==0 && out_len == m_PeriodSizeInSamples" failed at client\clientlib\sound\recordeditor.cpp:39;
    when using the editcapturedvoicedata-callback after a codec-change took place.

    To reproduce that with minimal effort, implement the editcapturedvoicedata-callback in a plugin and just set
    Code:
    *edited |= 1;
    (meaning the samples changed, even if they didn't in this example).

    Join a server/channel with that plugin activated and the channel set to speex 32kHz.
    Then join a channel using the CELT codec and switch back afterwards.

    TS will close with the message from above in the log.
    This will also occur when switching to channels with another speex-mode and back (8/16kHz).

    Thanks in advance for looking into this and thanks again for this incredible "new" sound-API

  2. #2
    Join Date
    June 2002
    Location
    Netherlands
    Posts
    1,049
    This should be fixed in our next beta release

  3. #3
    Join Date
    July 2011
    Posts
    3
    That was fast! Thanks very much

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [Resolved] Server crash (Assertion failed)
    By Bluscream in forum Server Support
    Replies: 2
    Last Post: October 2nd, 2015, 08:30 PM
  2. Replies: 0
    Last Post: January 2nd, 2014, 07:03 PM
  3. Replies: 0
    Last Post: April 5th, 2011, 09:48 PM
  4. Replies: 14
    Last Post: August 10th, 2010, 03:41 PM
  5. [CRITICAL] Server crash (db_exec failed and assertion failed)
    By Slater in forum Bug Reports [EN/DE]
    Replies: 8
    Last Post: August 10th, 2010, 09:36 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •