Menu

#290 sox_open_mem_write() on windows not worked

closed-wont-fix
nobody
windows (3)
5
2018-04-27
2017-04-03
Full name
No

This API not woked on windows, because in this source code:

ft->fp =
00857 #ifdef HAVE_FMEMOPEN
00858         buffer? fmemopen(buffer, buffer_size, "w+b") :
00859         buffer_ptr? open_memstream(buffer_ptr, buffer_size_ptr) :
00860 #endif
00861         fopen(path, "w+b");
00862       if (ft->fp == NULL) {
00863         lsx_fail("can't open output file `%s': %s", path, strerror(errno));
00864         goto error;
00865       }

functions fmemopen() and open_memstream() exists only for linux.

I copypaste example5_8c and its no working

Discussion

  • Mans Rullgard

    Mans Rullgard - 2018-04-27
    • status: open --> closed-wont-fix
     
  • Mans Rullgard

    Mans Rullgard - 2018-04-27

    Windows doesn't have the necessary functions to allow this. There is no easy solution.

     

Log in to post a comment.

MongoDB Logo MongoDB