From: Takashi Iwai <tiwai@suse.de>
To: Jaroslav Kysela <perex@suse.cz>
Cc: alsa-devel <alsa-devel@lists.sourceforge.net>
Subject: Re: [Alsa-user] Re: audio format TYPE II and TYPE III descriptor support
Date: Fri, 09 May 2003 11:36:19 +0200 [thread overview]
Message-ID: <s5hfznobgx8.wl@alsa2.suse.de> (raw)
In-Reply-To: <Pine.LNX.4.44.0305091111080.1237-100000@pnote.perex-int.cz>
At Fri, 9 May 2003 11:11:48 +0200 (CEST),
Jaroslav wrote:
>
> On Fri, 9 May 2003, Takashi Iwai wrote:
>
> > At 09 May 2003 09:22:28 +0200,
> > christopher cuse wrote:
> > >
> > > Good Day,
> > >
> > > the following is a snip from
> > >
> > > /alsa-driver-0.9.3a/alsa-kernel/usb/usbaudio.c
> > >
> > > /* FIXME: needed support for TYPE II and III */
> > > if (format_type != USB_FORMAT_TYPE_I) {
> > > snd_printd(KERN_INFO "%d:%u:%d : format type %d is not
> > > supported yet\n",
> > > dev->devnum, iface_no, altno, format_type);
> > > return -1;
> > > }
> > >
> > >
> > > If a usb card has TYPE II or TYPE III, is there a work around?
> >
> > my current version already supports these formats but still under
> > debugging. (also, for using TYPE II, we need a special tool. the
> > current audio apps support only linear/float formats.)
>
> Type II contains MPEG formats?
yes, so far, MPEG (I,II and each layer) and AC3 are defined as the
standard TYPE II.
i'm testing an SB Extigy, which supports AC3. perhaps a newer version
of Creative's USB device will support MPEG (according to their ad).
for TYPE III, i'm using the normal linear S16_LE. it's in fact IECxxx
but it's used as 16bit 2 channels.
the support of TYPE II needs, however, still many works.
- MPEG means not only single format but many different ones,
layer 1-3, MPEG I and II (and later). use of subformat is necessary
to distinguish it? (if we use subformat, snd_pcm_area_xxx needs
also the argument for subformat..?)
- there is no format defined for AC3 yet. (SPECIAL is used for
testing now.)
- moreover, how do we define the "frame size" of the format?
is it defined as the (alignment of) period size, or the ALSA frame
bit size?
Takashi
-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com
next prev parent reply other threads:[~2003-05-09 9:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-09 7:22 audio format TYPE II and TYPE III descriptor support christopher cuse
2003-05-09 8:16 ` Takashi Iwai
2003-05-09 9:11 ` [Alsa-user] " Jaroslav Kysela
2003-05-09 9:36 ` Takashi Iwai [this message]
2003-05-09 9:20 ` [Alsa-devel] " christopher cuse
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=s5hfznobgx8.wl@alsa2.suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@lists.sourceforge.net \
--cc=perex@suse.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.