* Problems with rvplayer
@ 1999-01-06 22:16 samad
1999-01-08 10:31 ` Thomas Sailer
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: samad @ 1999-01-06 22:16 UTC (permalink / raw)
To: linux-sound
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
Anybody can help me?
THANKS
samad
samad.wanadoo.fr
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Problems with rvplayer
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
2 siblings, 0 replies; 4+ messages in thread
From: Thomas Sailer @ 1999-01-08 10:31 UTC (permalink / raw)
To: linux-sound
samad wrote:
>
> 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
>
> Anybody can help me?
Yes: Read /usr/src/linux/Documentation/Changes.txt.
Tom
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Problems with rvplayer
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
2 siblings, 0 replies; 4+ messages in thread
From: Matthew Haas @ 1999-01-08 14:36 UTC (permalink / raw)
To: linux-sound
On Wed, 6 Jan 1999, samad wrote:
>
[SNIP]
>
> Anybody can help me?
>
I'm not sure when it became an issue, but somewhere between 2.1.131 and
2.2.0-pre4 this appeared in the linux/Documentation/Changes file for the
kernel:
RealPlayer
=====
Current releases of Real Player 5.0 depend on a bug in the sound
sub-system which is no longer there. Consequently, they don't work.
Real is aware of the problem and should have an updated version of the
software available shortly. In the mean time, you can always try
backing up your copy of rvplayer, and then editing it by:
dd if=/dev/zero of=rvplayer bs=1 count=1 seeke7586 conv=notrunc dd
if=/dev/zero of=rvplayer bs=1 count=1 seekf5986 conv=notrunc
If you're lucky, you'll then have sound....
>
> THANKS
> samad
> samad.wanadoo.fr
>
Hope that helps.
>
--------------------------------------------------------------------------
* * * Atari 8-bit RULES! 400/800/XL/XE 2600/5200/7800
* * * Battlestar: Galactica! Star Wars! SeaQuest!
* * * Voltron! DESCENT! Star Trek! SPARCstation 2!
* * * * *
** * ** ! ! ! ! L I N U X ! ! ! ! 2.0.36
--------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Problems with rvplayer
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
2 siblings, 0 replies; 4+ messages in thread
From: Bill Nottingham @ 1999-01-08 16:11 UTC (permalink / raw)
To: linux-sound
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;
}
--
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1999-01-08 16:11 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox