All of lore.kernel.org
 help / color / mirror / Atom feed
From: Carlos Munoz <carlos@kenati.com>
To: Adrian McMenamin <adrian@mcmen.demon.co.uk>
Cc: Takashi Iwai <tiwai@suse.de>, alsa-devel@alsa-project.org
Subject: Re: Couple of questions
Date: Mon, 20 Mar 2006 10:11:49 -0800	[thread overview]
Message-ID: <441EF065.4020407@kenati.com> (raw)
In-Reply-To: <1142680136.9435.2.camel@localhost.localdomain>

Adrian McMenamin wrote:

>On Thu, 2006-03-16 at 11:42 +0100, Takashi Iwai wrote:
>  
>
>>At Thu, 16 Mar 2006 00:01:11 +0000,
>>Adrian McMenamin wrote:
>>    
>>
>>>If my driver declares this:
>>>
>>>	.info = (SNDRV_PCM_INFO_NONINTERLEAVED),
>>>
>>>Can I expect samples to come in all left followed by all right, or how?
>>>      
>>>
>>Yes.  It's the non-interleaved format (LLLLLLLL....RRRRRR.....).
>>
>>    
>>
>>>And will cat somefile.wav > /dev/dsp using oss emulation respect that?
>>>      
>>>
>>Yes.
>>    
>>
>
>
>Are you sure about this bit? Either my code is extremely broken or cat
>isn't doing anything other than pump the bytes in as a simple stream
>  
>
Hi Adrian,

If I cat a wav file to /dev/dsp I just hear noise. However, if  the 
driver opens/reads the same wav file (bypassing the alsa layer) and 
feeds it to the hardware I get perfect sound. Your may want to try that 
to validate your driver and hardware. You might need to parse the file 
into RL buffers as you read it.


Carlos




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642

  reply	other threads:[~2006-03-20 18:06 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-16  0:01 Couple of questions Adrian McMenamin
2006-03-16 10:42 ` Takashi Iwai
2006-03-16 21:08   ` Adrian McMenamin
2006-03-17  0:10     ` Carlos Munoz
2006-03-17  0:20     ` Lee Revell
2006-03-16 23:34   ` Adrian McMenamin
2006-03-17  0:16     ` Lee Revell
2006-03-17 10:13       ` Takashi Iwai
2006-03-17 20:27         ` Adrian McMenamin
2006-03-17 20:29           ` Takashi Iwai
2006-03-17 23:29             ` Adrian McMenamin
2006-03-17 23:46               ` Lee Revell
2006-03-17 23:51                 ` Adrian McMenamin
2006-03-17 23:58                   ` Lee Revell
2006-03-18  0:08                     ` Adrian McMenamin
2006-03-18  0:17                       ` Lee Revell
2006-03-18  0:22                         ` Adrian McMenamin
2006-03-18 11:08   ` Adrian McMenamin
2006-03-20 18:11     ` Carlos Munoz [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-04-09 16:14 Brad Campbell
2011-04-09 23:17 ` Roman Mamedov
2011-04-10  8:02 ` NeilBrown
1998-03-20 18:39 couple " Nick Verhaegen

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=441EF065.4020407@kenati.com \
    --to=carlos@kenati.com \
    --cc=adrian@mcmen.demon.co.uk \
    --cc=alsa-devel@alsa-project.org \
    --cc=tiwai@suse.de \
    /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.