mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
got mmap oss output working
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@20 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
a8f788111c
commit
4b86ff0e6c
17 changed files with 607 additions and 112 deletions
|
|
@ -30,11 +30,10 @@ int main(int argc, char *argv[]) {
|
|||
mainloop_source_new_signal(m, SIGINT, signal_callback, NULL);
|
||||
signal(SIGPIPE, SIG_IGN);
|
||||
|
||||
module_load(c, "module-oss", "/dev/dsp1");
|
||||
module_load(c, "module-oss-mmap", "/dev/dsp1");
|
||||
module_load(c, "module-pipe-sink", NULL);
|
||||
module_load(c, "module-simple-protocol-tcp", NULL);
|
||||
|
||||
|
||||
fprintf(stderr, "main: mainloop entry.\n");
|
||||
while (mainloop_iterate(m, 1) == 0);
|
||||
/* fprintf(stderr, "main: %u blocks\n", n_blocks);*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue