[pulseaudio-tickets] [Bug 42177] Unknown ioctl (xoscope)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Oct 25 02:08:25 PDT 2011


https://bugs.freedesktop.org/show_bug.cgi?id=42177

--- Comment #2 from Angelo <angelo.compagnucci at gmail.com> 2011-10-25 02:08:25 PDT ---
Thank you for the quick reply.

I cannot really understand how I can fix the problem in xoscope. I'm explaining
better.

The code that initializes and issues ioctl is no more than 50 lines.
I think that it's really simple (follows a pseudocode):

Opening the device

snd = open("/dev/dsp", O_RDONLY | O_NDELAY))

then:

ioctl(snd, SNDCTL_DSP_CHANNELS, 2)

This ioctl fails whit the error I reported. If I comment this ioctl, xoscope
works, so I'm sure that this is the source of error.

In this code is stated crearly that the device is /dev/dsp, not mixer or
anything else.

I'm not the original author of xoscope, I'm trying to fix an Ubuntu problem
that appeared after the Ubuntu 10.04 LTS (on the ubuntu 10.04 lts xoscope works
great).

Thank you for your support.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the pulseaudio-bugs mailing list