Browse Source

Rely on jack_native_thread_t definition from systemdeps.h

types.h:
Remove the definition of `jack_native_thread_t` as we will be relying on
the one from systemdeps.h.

{jack,thread}.h:
Include systemdeps.h for definition of `jack_native_thread_t`.
master
David Runge Filipe Coelho <falktx@falktx.com> 6 months ago
parent
commit
4e53c8f0a3
3 changed files with 2 additions and 7 deletions
  1. +1
    -0
      jack.h
  2. +1
    -0
      thread.h
  3. +0
    -7
      types.h

+ 1
- 0
jack.h View File

@@ -25,6 +25,7 @@
extern "C" {
#endif

#include <jack/systemdeps.h>
#include <jack/types.h>
#include <jack/transport.h>



+ 1
- 0
thread.h View File

@@ -25,6 +25,7 @@ extern "C" {
#endif

#include <pthread.h>
#include <jack/systemdeps.h>
#include <jack/weakmacros.h>
#include <jack/types.h>



+ 0
- 7
types.h View File

@@ -96,13 +96,6 @@ typedef struct _jack_client jack_client_t;
*/
typedef uint32_t jack_port_id_t;

/**
* to make jack API independent of different thread implementations,
* we define jack_native_thread_t to pthread_t here.
* (all platforms that jack1 runs on, have pthread)
*/
typedef pthread_t jack_native_thread_t;

/**
* @ref jack_options_t bits
*/


Loading…
Cancel
Save