All of lore.kernel.org
 help / color / mirror / Atom feed
From: Antonio Willy Malara <behappy@maialone.com>
To: alsa-devel@lists.sourceforge.net
Subject: Re: usb-audio
Date: Mon, 27 Oct 2003 20:53:08 +0100	[thread overview]
Message-ID: <20031027195308.GA5219@Zeryn> (raw)
In-Reply-To: <s5hptgi5yx4.wl@alsa2.suse.de>; from tiwai@suse.de on lun, ott 27, 2003 at 19:16:23 +0100

On 2003.10.27 19:16, Takashi Iwai wrote:
> > 	/* FIXME: correct endianess and sign? */
> could you give more information:
> which program, which device and what format doesn't it work?

the system is a powermac, the device is a Griffin iMic, the app is jack 
version 0.80, the output is:

Sorry. The audio interface "hw:1"doesn't support either of the two 
hardware sample formats that jack can use.

that is raised from here (sorry for the wordwrap):

         if ((err = snd_pcm_hw_params_set_format (handle, hw_params, 
SND_PCM_FORMAT_S32)) < 0) {
                 if ((err = snd_pcm_hw_params_set_format (handle, 
hw_params, SND_PCM_FORMAT_S16)) < 0) {
                         jack_error ("Sorry. The audio interface \"%s\""
                                     "doesn't support either of the two 
hardware sample formats that jack can use.",
                                     device_name);
                         return -1;
                 }
         }

(/drivers/alsa/alsa_driver.c line 293 from the jack 0.80 tree)

i made this test: if i change the SND_PCM_FORMAT_S32 to _S32_LE the app 
goes forward but alsalib will raise many broken pipe errors and got no 
sound

hope this will help

> Takashi

willy


-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/

  reply	other threads:[~2003-10-27 19:53 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-27 18:03 usb-audio Antonio Willy Malara
2003-10-27 18:16 ` usb-audio Takashi Iwai
2003-10-27 19:53   ` Antonio Willy Malara [this message]
2003-10-28 10:11     ` usb-audio Takashi Iwai
2003-10-28 10:41       ` usb-audio Niklas Werner
2003-10-28 11:10         ` usb-audio Takashi Iwai
2003-10-28 11:48           ` usb-audio Niklas Werner
2003-10-28 12:13             ` usb-audio Takashi Iwai
2003-10-28 12:42               ` usb-audio Niklas Werner
2003-10-28 13:28                 ` usb-audio Takashi Iwai
2003-10-28 18:25                   ` usb-audio Takashi Iwai
2003-10-28 19:18                     ` usb-audio Niklas Werner
2003-10-29 18:24                       ` usb-audio Takashi Iwai
2003-10-29 22:26                         ` usb-audio Niklas Werner
2003-10-30 12:17                           ` usb-audio Takashi Iwai
2003-10-30 12:42                             ` usb-audio Niklas Werner
2003-10-30 19:46                               ` usb-audio Takashi Iwai
2003-10-31  8:23                                 ` usb-audio Niklas Werner
2003-10-31 11:02                                   ` usb-audio Takashi Iwai

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=20031027195308.GA5219@Zeryn \
    --to=behappy@maialone.com \
    --cc=alsa-devel@lists.sourceforge.net \
    /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.