All of lore.kernel.org
 help / color / mirror / Atom feed
From: Giuliano Pochini <pochini@shiny.it>
To: alsa-devel <alsa-devel@lists.sourceforge.net>
Subject: How to debug ?
Date: 01 Apr 2003 22:48:51 +0000	[thread overview]
Message-ID: <1049237332.26708.30.camel@Jay> (raw)


My driver do not work anymore with xmms (alsa-xmms plugin) and
alsaplayer. I have no idea when that happened because I always use
alsa-utils to make tests and I made a lot of changes since the last time
I tested xmms and ap. Alsaplayer writes this:

[Giu@Jay Giu]$ alsaplayer 
ALSA lib pcm_mmap.c:351:(snd_pcm_mmap) mmap failed: Invalid argument
Unable to install hw params:
ACCESS:  RW_INTERLEAVED
FORMAT:  S16_BE
SUBFORMAT:  STD
SAMPLE_BITS: 16
FRAME_BITS: 32
CHANNELS: 2
RATE: 44100
PERIOD_TIME: (23219 23220)
PERIOD_SIZE: 1024
PERIOD_BYTES: 4096
PERIODS: 8
BUFFER_TIME: (185759 185760)
BUFFER_SIZE: 8192
BUFFER_BYTES: 32768
TICK_TIME: 10000

But the ll driver writelogs:

pcm_hw_params (bufsize=32768B periods=16 persize=2048B)
pcm_hw_params ok
Prepare rate=44100 format=2 channels=2
Prepare ok
(Format 2 is S16_LE).

Xmms says "sample format not available:invalid argument". My driver do
not report any failure, so the error comes from the middle layer or from
alsa-lib. How can I debug it ? I'm using 0.9.2 release.


Bye.




-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/

             reply	other threads:[~2003-04-01 22:48 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-01 22:48 Giuliano Pochini [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-01-27 22:51 How to debug? Jalil Karimov <jukarimov@gmail.com>
2012-01-27 19:05 ` Mulyadi Santosa
2012-01-28  1:06   ` Jalil Karimov <jukarimov@gmail.com>
2012-01-28  4:39     ` Mulyadi Santosa
2012-01-30 18:41 ` Littlefield, Tyler
2007-01-30 21:51 Ronny Standtke
2007-02-02 18:14 ` Takashi Iwai
2007-02-02 20:44   ` Ronny Standtke
2007-02-05 15:43     ` Takashi Iwai
2007-02-06 22:14       ` Ronny Standtke
2003-04-02  0:17 How to debug ? Giuliano Pochini
2003-04-02 10:03 ` Takashi Iwai
2003-04-02 10:33   ` Giuliano Pochini
2003-04-02 10:40     ` Takashi Iwai
2003-04-02 10:55       ` Giuliano Pochini
2003-04-02 15:04         ` Takashi Iwai
2003-04-02 15:18           ` Giuliano Pochini
2003-04-02 16:05             ` Takashi Iwai
2003-04-03 15:14               ` Giuliano Pochini
1999-08-23 13:33 how to debug? Wang Yong

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=1049237332.26708.30.camel@Jay \
    --to=pochini@shiny.it \
    --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.