Re: Real Audio

G. Allen Morris III (gam3@harpo.ixlabs.com)
Sun, 17 Jan 1999 15:47:12 -0800


Look for rpopen.tar.gz.

It seems that rvplayer should needs to do a O_NONBLOCK open.

Allen

>>>Teemu Torma said:
> Joseph Anthony <jga@alien.cowboy.net> writes:
>
> > RA seems to be broken now with pre7
>
> I noticed the same thing today. The first time I've tried to use
> rvplayer 5.0 with Linux, so I don't know about the previous kernel
> versions.
>
> The strace shows that it gets upset about not being able to write
> everything it wants into /dev/dsp. The sound works for about 1
> second, and after that rvplayer reports a general error.
>
> ...
> open("/dev/dsp", O_WRONLY|O_NONBLOCK) = 10
> ioctl(10, SNDCTL_DSP_SETFMT, 0xbfffdfd4) = 0
> ioctl(10, SOUND_PCM_WRITE_CHANNELS, 0xbfffdfd0) = 0
> ioctl(10, SNDCTL_DSP_SPEED, 0xbfffdfcc) = 0
> ioctl(10, SNDCTL_DSP_GETCAPS, 0xbfffdfc8) = 0
> ...
> ioctl(10, SNDCTL_DSP_SETFRAGMENT, 0xbfffe000) = 0
> ...
> write(10, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1470) = 1470
> ... (other writes...)
> ioctl(10, SNDCTL_DSP_GETOPTR, 0xbfffe4d0) = 0
> ...
> ioctl(10, SNDCTL_DSP_GETOPTR, 0xbfffe4d0) = 0
> ...
> write(10, "\344\375\24\0\230\377\3\0\7\2\375"..., 132) = 132
> ...
> [ the same sequence of write/ioctl(SNDCTL_DSP_GETOPTR), happens few times ]
> ...
> write(10, "?\377n\375f\374\252\376a\1\30\3\266"..., 1470) = 320
> ^^^
> And rvplayer reports an error and stops working.
>
> Any clues?
>
> This is 2.2.0-pre7 on (originally) RedHat 5.0 system, SB AWE64 ISA PnP
> card, which otherwise works nicely.
>
> Teemu
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.rutgers.edu
> Please read the FAQ at http://www.tux.org/lkml/

---------------------------------
G. Allen Morris III

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/