ALSA with OSK
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=mCONFIG_SND_TIMER=mCONFIG_SND_PCM=mCONFIG_SND_SEQUENCER=m
# CONFIG_SND_SEQ_DUMMY is not setCONFIG_SND_OSSEMUL=yCONFIG_SND_MIXER_OSS=mCONFIG_SND_PCM_OSS=mCONFIG_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
Quoted 15 lines · Dirk Behme
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 #
Quoted 1 line
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
Quoted 4 lines · lamikr
Quoted 1 line
output:
ioctl(SNDCTL_DSP_SYNC): Invalid argumentHow 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?
Hi,
Quoted 1 line · ext Dirk Behme
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