alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: Clemens Ladisch <clemens@ladisch.de>
To: Jani Frilander <j.frilander@gmail.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: Zoom R16 (USB), will a quirk make it work
Date: Tue, 02 Feb 2010 08:59:26 +0100	[thread overview]
Message-ID: <4B67DB5E.9080208@ladisch.de> (raw)
In-Reply-To: <e53c6f621002012146n71ac0f7enb7e9f6e9c3b098d2@mail.gmail.com>

Jani Frilander wrote:
> I have a Zoom R16 which audio interface part doesn't work with linux.
> 
> lsusb -v:

Thanks.  Please try the following quirk entry:

{
	/* ZOOM R16 in USB 2.0 mode */
	USB_DEVICE(0x1686, 0x00dd),
	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
		.ifnum = QUIRK_ANY_INTERFACE,
		.type = QUIRK_COMPOSITE,
		.data = (const struct snd_usb_audio_quirk[]) {
			{
				.ifnum = 1,
				.type = QUIRK_AUDIO_STANDARD_INTERFACE
			},
			{
				.ifnum = 2,
				.type = QUIRK_AUDIO_STANDARD_INTERFACE
			},
			{
				.ifnum = 3,
				.type = QUIRK_MIDI_STANDARD_INTERFACE
			},
			{
				.ifnum = .1
			},
		}
	}
},

> If I try to play a file with mplayer:
> 
> $ mplayer -msglevel ao=9 -ao alsa:device=hw=2 piisi.mp3
> ...
> [AO_ALSA] Format s16le is not supported by hardware, trying default.

I don't know why there was an audio device at all (in theory, your quirk
entry shouldn't have worked), but the device supports only 24-bit
samples, so use "plughw" instead of "hw" (or better "default" for
software mixing).


HTH
Clemens

  reply	other threads:[~2010-02-02  7:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-02  5:46 Zoom R16 (USB), will a quirk make it work Jani Frilander
2010-02-02  7:59 ` Clemens Ladisch [this message]
2010-02-02 16:51   ` Jani Frilander
2010-02-02 16:53     ` Jani Frilander
2010-02-02 18:23   ` Jani Frilander
2010-02-03 12:07     ` Jani Frilander

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=4B67DB5E.9080208@ladisch.de \
    --to=clemens@ladisch.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=j.frilander@gmail.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).