All of lore.kernel.org
 help / color / mirror / Atom feed
* Input/output error while playing a file using aplay
@ 2007-06-22 20:12 Pharaoh .
  2007-06-22 23:16 ` Pharaoh .
  2007-06-25  6:56 ` Clemens Ladisch
  0 siblings, 2 replies; 15+ messages in thread
From: Pharaoh . @ 2007-06-22 20:12 UTC (permalink / raw)
  To: alsa-devel

Hi

I am testing my audio driver using aplay. I trying to play an audio file using:

#aplay -Dplughw:0,0 --rate=44100 --format=S16 --channels=2 test.wav
 The log is as follows,

snd_card_omap_alsa_open start
snd_card_omap_alsa_open end
Playing WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
snd_omap_alsa_hw_params start
snd_omap_alsa_prepare start
snd_omap_alsa_prepare end
snd_omap_alsa_trigger start
audio_start_dma_chain start
audio_start_dma_chain end
omap_start_alsa_sound_dma end
snd_omap_alsa_trigger end
snd_omap_alsa_pointer start
audio_get_dma_pos start
audio_get_dma_pos end

It waits here for sometime and then I get
snd_omap_alsa_trigger starte error: Input/output error

Then the things are wound up as:

audio_stop_dma start
omap_stop_alsa_sound_dma start
omap_stop_alsa_sound_dma end
omap_clear_alsa_sound_dma start
omap_clear_alsa_sound_dma end
snd_omap_alsa_trigger end

snd_omap_alsa_hw_free start
snd_omap_alsa_hw_free end
snd_card_omap_alsa_close start
snd_card_omap_alsa_close end


So basically the problem is in trigger where it waits for something
and then winds up things. Any idea, what could be the reason. I am
thinking it has to do something with
DMA interrupts etc.

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2007-06-26 17:17 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-22 20:12 Input/output error while playing a file using aplay Pharaoh .
2007-06-22 23:16 ` Pharaoh .
2007-06-25  6:56 ` Clemens Ladisch
2007-06-25  8:56   ` Pharaoh .
2007-06-25 11:00     ` Clemens Ladisch
2007-06-25 12:04       ` Pharaoh .
2007-06-25 13:35         ` Pharaoh .
2007-06-25 18:38           ` Pharaoh .
2007-06-26  7:21             ` Clemens Ladisch
2007-06-26 10:51               ` Pharaoh .
2007-06-26 10:55                 ` Pharaoh .
2007-06-26 11:04                   ` Pharaoh .
2007-06-26 13:17                 ` Clemens Ladisch
2007-06-26 13:43                   ` Pharaoh .
2007-06-26 17:17                     ` Pharaoh .

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.