public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* ALSA with OSK
@ 2006-03-21 15:50 Dirk Behme
  2006-03-21 21:40 ` lamikr
  0 siblings, 1 reply; 5+ messages in thread
From: Dirk Behme @ 2006-03-21 15:50 UTC (permalink / raw)
  To: linux-omap-open-source

Hi,

just tried ALSA on OSK with recent 2.6.16:

# madplay /mnt/nfs/foo.mp3
MPEG Audio Decoder 0.15.2 (beta) - Copyright (C) 2000-2004 
Robert Leslie e.
           Title: Foo
          Artist: Foo
           Album: Various - New Project
           Track: 1
           Genre: Blues
output: ioctl(SNDCTL_DSP_SYNC): Invalid argument
#

Any quick idea?

Many thanks

Dirk

Config:

#
# Sound
#
CONFIG_SOUND=m

#
# Advanced Linux Sound Architecture
#
CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_SEQUENCER=m
# CONFIG_SND_SEQ_DUMMY is not set
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_SEQUENCER_OSS=y
# CONFIG_SND_DYNAMIC_MINORS is not set
# CONFIG_SND_SUPPORT_OLD_API is not set
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set

#
# Generic devices
#
# CONFIG_SND_DUMMY is not set
# CONFIG_SND_VIRMIDI is not set
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_SERIAL_U16550 is not set
# CONFIG_SND_MPU401 is not set

#
# ALSA ARM devices
#
CONFIG_SND_OMAP_AIC23=m

#
# USB devices
#
# CONFIG_SND_USB_AUDIO is not set

#
# PCMCIA devices
#

#
# Open Sound System
#
# CONFIG_SOUND_PRIME is not set

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

* Re: ALSA with OSK
  2006-03-21 15:50 ALSA with OSK Dirk Behme
@ 2006-03-21 21:40 ` lamikr
  2006-03-22  6:53   ` Dirk Behme
  0 siblings, 1 reply; 5+ messages in thread
From: lamikr @ 2006-03-21 21:40 UTC (permalink / raw)
  To: Dirk Behme; +Cc: linux-omap-open-source

Dirk Behme wrote:

> Hi,
>
> just tried ALSA on OSK with recent 2.6.16:
>
> # madplay /mnt/nfs/foo.mp3
> MPEG Audio Decoder 0.15.2 (beta) - Copyright (C) 2000-2004 Robert
> Leslie e.
>           Title: Foo
>          Artist: Foo
>           Album: Various - New Project
>           Track: 1
>           Genre: Blues
> output: ioctl(SNDCTL_DSP_SYNC): Invalid argument
> #
>
> Any quick idea? 

How about if you try to play wav with aplay? Or by applying 3 alsa
patches send to list 2 weeks ago?

Mika

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

* Re: ALSA with OSK
  2006-03-21 21:40 ` lamikr
@ 2006-03-22  6:53   ` Dirk Behme
  2006-03-22 13:07     ` Anderson Briglia
  0 siblings, 1 reply; 5+ messages in thread
From: Dirk Behme @ 2006-03-22  6:53 UTC (permalink / raw)
  To: lamikr, linux-omap-open-source

lamikr wrote:
>>output: ioctl(SNDCTL_DSP_SYNC): Invalid argument
>
> How about if you try to play wav with aplay? Or by applying 3 alsa
> patches send to list 2 weeks ago?

Thanks! Does aplay play mp3? I applied the patches, but no 
difference:

# madplay /mnt/nfs/foo.mp3
MPEG Audio Decoder 0.15.2 (beta) - Copyright (C) 2000-2004 
Robert Leslie et al.
          Title: Foo
          Artist: Foo
           Album: Various - New Project
           Track: 1
           Genre: Blues
output: ioctl(SNDCTL_DSP_SYNC): Invalid argument
# lsmod | grep snd
snd_pcm_oss 47136 0 - Live 0xbf0ba000
snd_mixer_oss 14752 1 snd_pcm_oss, Live 0xbf0b5000
snd_omap_alsa_aic23 15804 0 - Live 0xbf0b0000
snd_pcm 79240 2 snd_pcm_oss,snd_omap_alsa_aic23, Live 0xbf09b000
snd_timer 21796 1 snd_pcm, Live 0xbf094000
snd_page_alloc 6312 1 snd_pcm, Live 0xbf091000
snd 45592 5 
snd_pcm_oss,snd_mixer_oss,snd_omap_alsa_aic23,snd_pcm,snd_timer, 
Live 0xbf084000
soundcore 8196 1 snd, Live 0xbf080000
#

Any other working mp3 player?

Best regards

Dirk

BTW: Any plans to apply the pending patches?

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

* RE: ALSA with OSK
@ 2006-03-22  7:01 Ishigami, Tatsuya
  0 siblings, 0 replies; 5+ messages in thread
From: Ishigami, Tatsuya @ 2006-03-22  7:01 UTC (permalink / raw)
  To: Dirk Behme; +Cc: linux-omap-open-source

Hello,

 During the OSS days, I think I had similar error on certain 
sampling rate, while other rates were just OK.  

 It might be interesting to try other sampling rates if you 
have the MP3 encoder handy.

 Regards,
 Ishigami

-----Original Message-----
From: Behalf Of Dirk Behme
Sent: Wednesday, March 22, 2006 3:53 PM
To: lamikr@cc.jyu.fi; linux-omap-open-source@linux.omap.com
Subject: Re: ALSA with OSK

lamikr wrote:
>>output: ioctl(SNDCTL_DSP_SYNC): Invalid argument
>
> How about if you try to play wav with aplay? Or by applying 3 alsa
> patches send to list 2 weeks ago?

Thanks! Does aplay play mp3? I applied the patches, but no 
difference:

# madplay /mnt/nfs/foo.mp3
MPEG Audio Decoder 0.15.2 (beta) - Copyright (C) 2000-2004 
Robert Leslie et al.
          Title: Foo
          Artist: Foo
           Album: Various - New Project
           Track: 1
           Genre: Blues
output: ioctl(SNDCTL_DSP_SYNC): Invalid argument
# lsmod | grep snd
snd_pcm_oss 47136 0 - Live 0xbf0ba000
snd_mixer_oss 14752 1 snd_pcm_oss, Live 0xbf0b5000
snd_omap_alsa_aic23 15804 0 - Live 0xbf0b0000
snd_pcm 79240 2 snd_pcm_oss,snd_omap_alsa_aic23, Live 0xbf09b000
snd_timer 21796 1 snd_pcm, Live 0xbf094000
snd_page_alloc 6312 1 snd_pcm, Live 0xbf091000
snd 45592 5 
snd_pcm_oss,snd_mixer_oss,snd_omap_alsa_aic23,snd_pcm,snd_timer, 
Live 0xbf084000
soundcore 8196 1 snd, Live 0xbf080000
#

Any other working mp3 player?

Best regards

Dirk

BTW: Any plans to apply the pending patches?
_______________________________________________
Linux-omap-open-source mailing list
Linux-omap-open-source@linux.omap.com
http://linux.omap.com/mailman/listinfo/linux-omap-open-source

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

* Re: ALSA with OSK
  2006-03-22  6:53   ` Dirk Behme
@ 2006-03-22 13:07     ` Anderson Briglia
  0 siblings, 0 replies; 5+ messages in thread
From: Anderson Briglia @ 2006-03-22 13:07 UTC (permalink / raw)
  To: ext Dirk Behme; +Cc: linux-omap-open-source

Hi,

ext Dirk Behme wrote:
> Thanks! Does aplay play mp3? I applied the patches, but no difference:

aplay doesn't support mp3 files. You can try this command instead:

madplay -q -o raw:- file.mp3 | aplay -q -f cd

It uses madplay just for mp3 decoding and aplay to actually "talk" with alsa.

Best Regards,

Anderson Briglia

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

end of thread, other threads:[~2006-03-22 13:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-21 15:50 ALSA with OSK Dirk Behme
2006-03-21 21:40 ` lamikr
2006-03-22  6:53   ` Dirk Behme
2006-03-22 13:07     ` Anderson Briglia
  -- strict thread matches above, loose matches on Subject: below --
2006-03-22  7:01 Ishigami, Tatsuya

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox