mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
fix minor typo
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@48 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
3ac2437abd
commit
a8a5ab1c79
2 changed files with 2 additions and 2 deletions
|
|
@ -38,7 +38,7 @@ int main(int argc, char *argv[]) {
|
|||
c = core_new(pa_mainloop_get_api(mainloop));
|
||||
assert(c);
|
||||
|
||||
module_load(c, "module-oss-mmap", "/dev/dsp");
|
||||
module_load(c, "module-oss-mmap", "/dev/dsp1");
|
||||
/* module_load(c, "module-pipe-sink", NULL);*/
|
||||
module_load(c, "module-simple-protocol-tcp", NULL);
|
||||
/* module_load(c, "module-simple-protocol-unix", NULL);
|
||||
|
|
|
|||
|
|
@ -273,7 +273,7 @@ int module_init(struct core *c, struct module*m) {
|
|||
}
|
||||
}
|
||||
|
||||
if (m != O_RDONLY) {
|
||||
if (mode != O_RDONLY) {
|
||||
if (ioctl(u->fd, SNDCTL_DSP_GETOSPACE, &info) < 0) {
|
||||
fprintf(stderr, "SNDCTL_DSP_GETOSPACE: %s\n", strerror(errno));
|
||||
goto fail;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue