mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-06 13:29:56 -05:00
gcc 2.95 fix
default.pa fix git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@254 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
6ede161cb9
commit
a6471e2602
2 changed files with 2 additions and 2 deletions
|
|
@ -85,9 +85,9 @@ finish:
|
|||
static int load(const char *fn, void *data, size_t length) {
|
||||
int fd = -1;
|
||||
int writable = 1;
|
||||
assert(fn && data && length);
|
||||
int unlock = 0, ret;
|
||||
ssize_t r;
|
||||
assert(fn && data && length);
|
||||
|
||||
if ((fd = open(fn, O_RDWR|O_CREAT, S_IRUSR|S_IWUSR)) < 0) {
|
||||
if (errno != EACCES || (fd = open(fn, O_RDONLY)) < 0) {
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ set-default-source input
|
|||
.nofail
|
||||
|
||||
# Load something to the sample cache
|
||||
load-sample /usr/share/sounds/KDE_Notify.wav x11-bell
|
||||
load-sample x11-bell /usr/share/sounds/KDE_Notify.wav
|
||||
|
||||
# Load X11 bell module
|
||||
load-module module-x11-bell sample=x11-bell sink=output
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue