From: Bill Nottingham <notting@redhat.com>
To: linux-sound@vger.kernel.org
Subject: Re: Problems with rvplayer
Date: Fri, 08 Jan 1999 16:11:06 +0000 [thread overview]
Message-ID: <marc-linux-sound-91591672220206@msgid-missing> (raw)
In-Reply-To: <marc-linux-sound-91577868929600@msgid-missing>
samad (samad@wanadoo.fr) said:
> I have problem when I use RealAudio .
> I have :
> - SB 16 (CMI8330)
> - kernel 2.1.132
> - rvplayer 5.0.0.45
>
> When I want to open a location, I listen the sound one second and I have
> this error:
>
> [samad@samad samad]$ ****audio: write error: 22 bytes errno: 11
> ****audio: write error: 203 bytes errno: 11
rvplayer won't work with 2.1.late (or 2.2) without a patch/workaround.
One workaround courtesy Thomas Sailer is included at the end of
this message.
Bill
--
Binary only apps such as rvplayer are slightly more
annoying, but they can probably be worked around
by LD_PRELOAD'ing something like the following
(untested, requires the app to be dynamically
linked against glibc2, otherwise you loose).
#include <string.h>
#include <unistd.h>
#include <fcntlbits.h>
extern int __open(const char *pathname, int flags, mode_t mode);
extern int fcntl(int fd, int cmd, long arg);
int open(const char *pathname, int flags, mode_t mode)
{
int res, rstnblk = flags & O_NONBLOCK && !strcmp(pathname, "/dev/dsp");
res = __open(pathname, flags, mode);
if (res = -1 || !rstnblk)
return res;
fcntl(res, F_SETFL, fcntl(res, F_GETFL, 0) & ~O_NONBLOCK);
return res;
}
--
prev parent reply other threads:[~1999-01-08 16:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-01-06 22:16 Problems with rvplayer samad
1999-01-08 10:31 ` Thomas Sailer
1999-01-08 14:36 ` Matthew Haas
1999-01-08 16:11 ` Bill Nottingham [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-linux-sound-91591672220206@msgid-missing \
--to=notting@redhat.com \
--cc=linux-sound@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox