mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
initial commit
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@3 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
b1c00dcd0a
commit
9cb0b933e2
47 changed files with 3425 additions and 0 deletions
26
src/main.c
Normal file
26
src/main.c
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
#include <stddef.h>
|
||||
#include <assert.h>
|
||||
|
||||
#include "core.h"
|
||||
#include "mainloop.h"
|
||||
#include "module.h"
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
struct mainloop *m;
|
||||
struct core *c;
|
||||
|
||||
m = mainloop_new();
|
||||
assert(m);
|
||||
c = core_new(m);
|
||||
assert(c);
|
||||
|
||||
module_load(c, "sink-pipe", NULL);
|
||||
module_load(c, "protocol-simple-tcp", NULL);
|
||||
|
||||
mainloop_run(m);
|
||||
|
||||
core_free(c);
|
||||
mainloop_free(m);
|
||||
|
||||
return 0;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue