|
Lines 583-589
out:
Link Here
|
| 583 |
* |
583 |
* |
| 584 |
*/ |
584 |
*/ |
| 585 |
SPA_EXPORT |
585 |
SPA_EXPORT |
| 586 |
void pw_init(int *argc, char **argv[]) |
586 |
void pipewire_init(int *argc, char **argv[]) |
| 587 |
{ |
587 |
{ |
| 588 |
const char *str; |
588 |
const char *str; |
| 589 |
struct spa_dict_item items[6]; |
589 |
struct spa_dict_item items[6]; |
|
Lines 672-679
done:
Link Here
|
| 672 |
pthread_mutex_unlock(&init_lock); |
672 |
pthread_mutex_unlock(&init_lock); |
| 673 |
} |
673 |
} |
| 674 |
|
674 |
|
|
|
675 |
|
| 675 |
SPA_EXPORT |
676 |
SPA_EXPORT |
| 676 |
void pw_deinit(void) |
677 |
void pipewire_deinit(void) |
| 677 |
{ |
678 |
{ |
| 678 |
struct support *support = &global_support; |
679 |
struct support *support = &global_support; |
| 679 |
struct registry *registry = &support->registry; |
680 |
struct registry *registry = &support->registry; |
|
Lines 696-701
void pw_deinit(void)
Link Here
|
| 696 |
pthread_mutex_unlock(&init_lock); |
697 |
pthread_mutex_unlock(&init_lock); |
| 697 |
|
698 |
|
| 698 |
} |
699 |
} |
|
|
700 |
|
| 701 |
#if !defined(__FreeBSD__) |
| 702 |
#undef pw_init |
| 703 |
SPA_EXPORT |
| 704 |
void pw_init(int *argc, char **argv[]) |
| 705 |
{ |
| 706 |
pipewire_init(argc, argv); |
| 707 |
} |
| 708 |
#undef pw_deinit |
| 709 |
SPA_EXPORT |
| 710 |
void pw_deinit(void) |
| 711 |
{ |
| 712 |
pipewire_deinit(); |
| 713 |
} |
| 714 |
#endif |
| 699 |
|
715 |
|
| 700 |
/** Check if a debug category is enabled |
716 |
/** Check if a debug category is enabled |
| 701 |
* |
717 |
* |