Results 1 to 2 of 2

Thread: opensl es fatal problem on Android jni

  1. #1
    Newbie
    Join Date
    Mar 2016
    Posts
    1

    opensl es fatal problem on Android jni

    Hi, when I use android jni to call opensl es in android app, I get a fatal error when I destroy the player.
    The error is
    03-04 16:40:59.977 W/art ( 3315): Native thread exiting without having called DetachCurrentThread (maybe it's going to use a pthread_key_create destructor?): Thread[25,tid=3577,Native,Thread*=0xb4bdf000,peer=0x12f16 0a0,"Thread-24441"]

    It happened when I call the function Destroy(sys->playerObject); Can someone help? It seems as if there's a pthread exit in the function, how can I circumvent this error?

    ================================================== ================
    result = SetPlayState(sys->playerPlay, SL_PLAYSTATE_STOPPED);
    CHECK_OPENSL_ERROR("failed to SetPlayState SL_PLAYSTATE_STOPPED.");

    result = Clear(sys->playerBufferQueue);
    CHECK_OPENSL_ERROR("failed to Clear playerBufferQueue.");

    usleep(100000);
    Destroy(sys->playerObject);
    usleep(100000);
    sys->playerObject = NULL;

    Destroy(sys->outputMixObject);

  2. #2
    Newbie
    Join Date
    May 2016
    Posts
    1
    can you fix ?
    [URL=http://dietcontrunggiare.com/dich-vu/diet-con-trung-gia-re.html]diệt cn trng[/URL], [URL="http://dietcontrunggiare.com/dich-vu/diet-con-trung-gia-re.html"]diet con trung[/URL],[URL="http://dietcontrunggiare.com/dich-vu/diet-con-trung-gia-re.html"]cong ty diet con trung[/URL],[URL="http://dietcontrunggiare.com/dich-vu/bang-bao-gia-diet-moi.html"] bang bao gia diet moi[/URL],[URL="http://dietcontrunggiare.com/dich-vu/phong-chong-moi-cho-cong-trinh-xay-dung.html"] phong chong moi[/URL], [URL="http://dietcontrunggiare.com/dich-vu/xu-ly-nen-mong.html"]xu ly nen mong[/URL], [URL="http://dietcontrunggiare.com/dich-vu/diet-muoi-gia-re.html"]diet muoi gia re[/URL], [URL="http://dietcontrunggiare.com/dich-vu/diet-con-trung.html"]dich vu diet con trung [/url],[URL="http://dietcontrunggiare.com/dich-vu/diet-moi-tai-nha.html"]diet moi tai nha[/URL],[URL="http://dietcontrunggiare.com/dich-vu/diet-moi-quan-1.html"]diet moi quan 1[/URL], [URL="http://dietcontrunggiare.com/dich-vu/diet-moi-quan-2.html"]diet moi quan 2[/URL], [URL="http://dietcontrunggiare.com/dich-vu/diet-moi-quan-4.html"]diet moi quan 4[/URL], [URL="http://dietcontrunggiare.com/dich-vu/diet-moi-quan-5.html"]diet moi quan 5[/URL], [URL="http://dietcontrunggiare.com/dich-vu/diet-moi-quan-7.html"]diet moi quan 7[/URL], [URL="http://dietcontrunggiare.com/dich-vu/diet-moi-go-vap.html"]diet moi go vap[/URL], [URL="http://dietcontrunggiare.com/dich-vu/diet-moi-tphcm.html"]diet moi tphcm[/URL], [URL="http://dietcontrunggiare.com/dich-vu/diet-moi-binh-duong.html"]diet moi binh duong[/URL]

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean