[linux-audio-dev] ioctl() call fails. (fwd)

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: [linux-audio-dev] ioctl() call fails. (fwd)
From: Doru-Catalin Togea (doru-cat_AT_ifi.uio.no)
Date: Thu Jul 10 2003 - 09:29:02 EEST


Hi!

I posted the following on the comp.os.linux.development.apps newsgroup,
but I believe that maybe this forum is even more appropriate for the
questions I have. (I would have cross-posted if I knew how to cross-post
between a news-group and an e-mail based disscussion group. I am using
PINE).

---------- Forwarded message ----------
Date: Thu, 10 Jul 2003 08:25:00 +0200
From: Doru-Catalin Togea <doru-cat_AT_ifi.uio.no>
Newsgroups: comp.os.linux.development.apps
Subject: ioctl() call fails.

Hi!

I am running RedHat 9.0 on a Toshiba Sattelite. It has a Yamaha
sound-card which has been identified by the sound-card configuration
programme to be a "YMF-745 [DS-1E Audio Controller]" card, and the
"ymfpci" module is used for it.

I can test-play the sound in the sound-card configuration programme, I can
play music CD's with the CD-Player application shipped with RedHat 9.0 and
I can play mp3s with xmms (after installing its mp3 support). So I guess
my sound-card is pretty much up and running.

I am using my PC for some research work involving multimedia (I am working
on my master's thesis). I have compiled a set of tools implementing an
adaptive video streaming protocol, (the Quasar Pipeline, available from
http://ogiworks.org/quasar/) but when playing back video with sound
enabled the application crashes with the following message:

** ERROR **: SNDCTL_DSP_GETODELAY: Inappropriate ioctl for device
aborting...
Aborted

I can playback the video with sound disabled. I also had the same problem
with Redhat 7.3, so I guess the cause of the problem is my sound-card.

Can anyone tell me what the ioctl() does? I read the man page but it is
scarce. The author of the software I have installed tells me that the call
is issued in order to synchronize video and audio playback.

I guess some of you have quite some programming experience, so I wonder
what do your guts tell you about this situation? Do you think that if I
could track down the place(s) where the call(s) is/are made I could then
adjust the calls so that my sound-card will understand the call(s)? Or is
my card so old that it does not support the ioctl() call at all?

Thanks if anyone can help,
Catalin

-- 

<<<< ================================== >>>> << We are what we repeatedly do. >> << Excellence, therefore, is not an act >> << but a habit. >> <<<< ================================== >>>>


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Thu Jul 10 2003 - 09:43:34 EEST