I'm newbe to alsa driver. I find that I can use alsamixer to adjust the
volumn of line input. But how can I set the volumn of line input by program?
And how to capture data from line input?
What's more, where can I find the explaniation of every item which
alsamixer lists ?
Thanks if anyone
Hartmut Geissbauer wrote:
> That _has_ helped. Now the device is fully functional.
- search class-specific endpoint descriptor after the sync ep, too
Index: alsa-kernel/usb/usbaudio.c
===
RCS file: /cvsroot/alsa/alsa-kernel/usb/us
Mathieu Rondonneau wrote:
> Selon Clemens Ladisch <[EMAIL PROTECTED]>:
>
> > Mathieu Rondonneau wrote:
> > > I don't understand why count is 1024 ?
> > > why count is not equal to runtime->period_size (i.e. 16*1024)?
> >
> > If your frame size is 4, this is the size of a memory page. I guess
> >
Jiang Jiang (HangZhou) wrote:
> I find that I can use alsamixer to adjust the volumn of line
> input. But how can I set the volumn of line input by program?
See the source of the amixer utility.
> And how to capture data from line input?
See the source of the arecord utility.
> What's more, whe
On Thu, 2004-02-26 at 19:38, Jaroslav Kysela wrote:
> On Thu, 26 Feb 2004, Michel DÃnzer wrote:
>
> > The problem occurs when the ALSA_OSS_WRAPPER environment variable isn't
> > set. initialize() returns early, so the public functions segfault when
> > they try to dereference the uninitialized fds
On Fri, Feb 27, 2004 at 01:38:16PM +0100, Michel Dänzer wrote:
> ioctl(5, SNDCTL_DSP_SETFRAGMENT, 0x7308[4000c])
>
> even with the attached patch, which used to be enough to get it working.
> Adam's ('small and cosmetic'??? :) patch doesn't help either.
with this patch I could use Quake3, java
On Fri, Feb 27, 2004 at 02:49:42PM +0100, Adam Tla/lka wrote:
> Back to bzflag. I will be investigating that.
If you debug aoss ioctl call you find that fragshift is set to 12
and maxfrags to 4. I must read the doc and find what is proper but
maybe there is some parameter mistake.
If you swap the p
Hi,
AFAIK, it seems that when using a scatter gather buffer, not every
period is located inside of a page. If for example i use a period size
of 3000 bytes and a Scatter Gather buffer, i would have this:
pages : page0, page1, page2 ...
periods: p0, p1, p2, p3, p4 ...
|...page0...||...page1...||.
I seem to be getting closer now. Still no sound, but XMMS is not running
crazy anymore. Now it hangs after two seconds. Here are some of the
debug messages I printed:
The start:
Feb 27 14:39:27 localhost kernel: trigger - emu10k1 = 0xddb78000, cmd =
1, pointer = 0
Feb 27 14:39:27 localhost ker