[PlanetCCRMA] Unable to run alsaplayer
Fernando Pablo Lopez-Lezcano
nando at ccrma.Stanford.EDU
Fri Aug 30 20:23:01 PDT 2002
> I did an apt-get on alsaplayer on this AP2496 machine, but it won't run.
> I also went to the alsaplayer home page and downloaded the rpm file, but
> that failed the same way.
>
> Here's what I see in an xterm when I try and run alsaplayer. Any ideas?
> (All I typed at the command line was 'alsaplayer'.)
>
> Again, aplay will play wave files just fine. (At least the couple I've
> tested.)
The problem is that alsaplayer, by default, uses parameters that are not
very sane (IMHO). In this case it is trying to configure the alsa
interface and failing to set the number of periods to 7. There are command
line options you can use to change that. "--fragsize" and "--fragcount"
would be the ones to try... "man alsaplayer" for all parameters.
-- Fernando
> root at RH73WH root]# alsaplayer --verbose
> AlsaPlayer 0.99.70
> (C) 1999-2002 Andy Lo A Fo <andy at alsaplayer.org> and others
> Output Plugin: ALSA output v1.9.0beta12
> error on set_periods (7)
> Unavailable hw params:
> ACCESS: RW_INTERLEAVED
> FORMAT: S16_LE
> SUBFORMAT: STD
> SAMPLE_BITS: 16
> FRAME_BITS: 32
> CHANNELS: 2
> RATE: 44100
> PERIOD_TIME: (23219 23220)
> PERIOD_SIZE: 1024
> PERIOD_BYTES: 4096
> PERIODS: [1 7)
> BUFFER_TIME: (23219 148595)
> BUFFER_SIZE: [1024 6553]
> BUFFER_BYTES: [4096 26212]
> TICK_TIME: 10000
> error on set_periods (7)
More information about the PlanetCCRMA
mailing list