26 Jul
2007
26 Jul
'07
11 p.m.
On 25/07/07, Clemens Ladisch cladisch@fastmail.net wrote:
Adrian McMenamin wrote:
Unless CONFIG_SND_PCM_OSS_PLUGINS is set then with my driver the userspace (and OSS) app mpg123 doesn't work properly - not outputting any sound.
This symbol enables (limited) automatic sample rate/format conversion.
Apparently, your sound device does not support any of mpg123's supported sample formats.
Is this likely to be a problem with my driver or with the app?
I would say that the problem is the missing CONFIG_SND_PCM_OSS_PLUGINS. ;-)
Well, your driver does support S16_LE, doesn't it?
I think so
.formats = (SNDRV_PCM_FMTBIT_S8 | SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_IMA_ADPCM),