[alsa-devel] SALSA and aplay
gineera at aspect135.co.uk
Tue Jul 17 16:38:00 CEST 2007
On Tuesday 17 July 2007 12:58, you wrote:
> At Tue, 17 Jul 2007 12:33:36 +0100,
> Alan Horstmann wrote:
> > On Monday 16 July 2007 13:30, you wrote:
> > I have very crudely hacked the aplay code and included it as a function
> > in code to make a simple key-press play a set file. Linking -lasound
> > this seems to work fine. However, linking -lsalsa results in the file
> > playing too fast, but not as much as double.
> Probably you are playing the samples with the hardware parameters that
> the hardware doesn't support. alsa-lib has plugin layer which can
> convert appropriatley on the fly.
> > As my experimental system has ice1712 card, I am having to use a 10 track
> > WAV file S32_LE as I think that is the only format supported, the card
> > working with 24-bits loose fitted in 32-bits.
Are you refering to parameters other than rate, format, channels? I think
those are correct now. I have logged
FORMAT: S32_LE hebrew
PERIOD_TIME: (37142 37143)
PERIODS: (4 5)
BUFFER_TIME: (148594 148595)
PERIOD_TIME: (21333 21334)
PERIOD_SIZE: (940 941)
PERIOD_BYTES: (37600 37640)
PERIODS: (5 7)
BUFFER_TIME: (127981 127982)
Is there significance to 'hebrew' on the format line? The other numbers mean
little to me. Sorry to trouble you.
More information about the Alsa-devel