fix minor typo

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@48 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
Lennart Poettering 2004-07-03 00:32:31 +00:00
parent 3ac2437abd
commit a8a5ab1c79
2 changed files with 2 additions and 2 deletions

View file

@ -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);

View file

@ -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;