* Effect of CONFIG_SND_PCM_OSS_PLUGINS
@ 2007-07-24 22:30 Adrian McMenamin
2007-07-25 6:36 ` Clemens Ladisch
0 siblings, 1 reply; 8+ messages in thread
From: Adrian McMenamin @ 2007-07-24 22:30 UTC (permalink / raw)
To: alsa-devel
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.
Is this likely to be a problem with my driver or with the app?
Adrian
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Effect of CONFIG_SND_PCM_OSS_PLUGINS
2007-07-24 22:30 Effect of CONFIG_SND_PCM_OSS_PLUGINS Adrian McMenamin
@ 2007-07-25 6:36 ` Clemens Ladisch
2007-07-26 21:00 ` Adrian McMenamin
0 siblings, 1 reply; 8+ messages in thread
From: Clemens Ladisch @ 2007-07-25 6:36 UTC (permalink / raw)
To: Adrian McMenamin, alsa-devel
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?
Regards,
Clemens
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Effect of CONFIG_SND_PCM_OSS_PLUGINS
2007-07-25 6:36 ` Clemens Ladisch
@ 2007-07-26 21:00 ` Adrian McMenamin
2007-07-27 6:21 ` Clemens Ladisch
0 siblings, 1 reply; 8+ messages in thread
From: Adrian McMenamin @ 2007-07-26 21:00 UTC (permalink / raw)
To: Clemens Ladisch; +Cc: alsa-devel
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),
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Effect of CONFIG_SND_PCM_OSS_PLUGINS
2007-07-26 21:00 ` Adrian McMenamin
@ 2007-07-27 6:21 ` Clemens Ladisch
2007-07-27 7:15 ` Adrian McMenamin
0 siblings, 1 reply; 8+ messages in thread
From: Clemens Ladisch @ 2007-07-27 6:21 UTC (permalink / raw)
To: Adrian McMenamin; +Cc: alsa-devel
Adrian McMenamin wrote:
> On 25/07/07, Clemens Ladisch <cladisch@fastmail.net> wrote:
> > 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),
Looks OK.
What are the other snd_pcm_hardware settings?
Regards,
Clemens
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Effect of CONFIG_SND_PCM_OSS_PLUGINS
2007-07-27 6:21 ` Clemens Ladisch
@ 2007-07-27 7:15 ` Adrian McMenamin
2007-07-27 9:41 ` Takashi Iwai
0 siblings, 1 reply; 8+ messages in thread
From: Adrian McMenamin @ 2007-07-27 7:15 UTC (permalink / raw)
To: Clemens Ladisch; +Cc: alsa-devel
On 27/07/07, Clemens Ladisch <cladisch@fastmail.net> wrote:
> Adrian McMenamin wrote:
> > On 25/07/07, Clemens Ladisch <cladisch@fastmail.net> wrote:
> > > 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),
>
> Looks OK.
>
> What are the other snd_pcm_hardware settings?
>
static struct snd_pcm_hardware snd_pcm_aica_playback_hw = {
.info = (SNDRV_PCM_INFO_NONINTERLEAVED),
.formats =
(SNDRV_PCM_FMTBIT_S8 | SNDRV_PCM_FMTBIT_S16_LE |
SNDRV_PCM_FMTBIT_IMA_ADPCM),
.rates = SNDRV_PCM_RATE_8000_48000,
.rate_min = 8000,
.rate_max = 48000,
.channels_min = 1,
.channels_max = 2,
.buffer_bytes_max = AICA_BUFFER_SIZE,
.period_bytes_min = AICA_PERIOD_SIZE,
.period_bytes_max = AICA_PERIOD_SIZE,
.periods_min = AICA_PERIOD_NUMBER,
.periods_max = AICA_PERIOD_NUMBER,
};
#define AICA_BUFFER_SIZE 0x8000
#define AICA_PERIOD_SIZE 0x800
#define AICA_PERIOD_NUMBER 16
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Effect of CONFIG_SND_PCM_OSS_PLUGINS
2007-07-27 7:15 ` Adrian McMenamin
@ 2007-07-27 9:41 ` Takashi Iwai
2007-07-27 9:50 ` Adrian McMenamin
0 siblings, 1 reply; 8+ messages in thread
From: Takashi Iwai @ 2007-07-27 9:41 UTC (permalink / raw)
To: Adrian McMenamin; +Cc: alsa-devel
At Fri, 27 Jul 2007 08:15:13 +0100,
Adrian McMenamin wrote:
>
> On 27/07/07, Clemens Ladisch <cladisch@fastmail.net> wrote:
> > Adrian McMenamin wrote:
> > > On 25/07/07, Clemens Ladisch <cladisch@fastmail.net> wrote:
> > > > 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),
> >
> > Looks OK.
> >
> > What are the other snd_pcm_hardware settings?
> >
>
> static struct snd_pcm_hardware snd_pcm_aica_playback_hw = {
> .info = (SNDRV_PCM_INFO_NONINTERLEAVED),
This one.
Takashi
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Effect of CONFIG_SND_PCM_OSS_PLUGINS
2007-07-27 9:41 ` Takashi Iwai
@ 2007-07-27 9:50 ` Adrian McMenamin
2007-07-27 9:53 ` Takashi Iwai
0 siblings, 1 reply; 8+ messages in thread
From: Adrian McMenamin @ 2007-07-27 9:50 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel
On 27/07/07, Takashi Iwai <tiwai@suse.de> wrote:
> At Fri, 27 Jul 2007 08:15:13 +0100,
> Adrian McMenamin wrote:
> >
> > On 27/07/07, Clemens Ladisch <cladisch@fastmail.net> wrote:
> > > Adrian McMenamin wrote:
> > > > On 25/07/07, Clemens Ladisch <cladisch@fastmail.net> wrote:
> > > > > 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),
> > >
> > > Looks OK.
> > >
> > > What are the other snd_pcm_hardware settings?
> > >
> >
> > static struct snd_pcm_hardware snd_pcm_aica_playback_hw = {
> > .info = (SNDRV_PCM_INFO_NONINTERLEAVED),
>
> This one.
>
Sorry. "This one" what? Is this the reason why mpg123 has difficulties
without the plugin? As long as it is not a fault with the driver as
opposed to a reflection of the hardware, then I am happy.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Effect of CONFIG_SND_PCM_OSS_PLUGINS
2007-07-27 9:50 ` Adrian McMenamin
@ 2007-07-27 9:53 ` Takashi Iwai
0 siblings, 0 replies; 8+ messages in thread
From: Takashi Iwai @ 2007-07-27 9:53 UTC (permalink / raw)
To: Adrian McMenamin; +Cc: alsa-devel
At Fri, 27 Jul 2007 10:50:29 +0100,
Adrian McMenamin wrote:
>
> On 27/07/07, Takashi Iwai <tiwai@suse.de> wrote:
> > At Fri, 27 Jul 2007 08:15:13 +0100,
> > Adrian McMenamin wrote:
> > >
> > > On 27/07/07, Clemens Ladisch <cladisch@fastmail.net> wrote:
> > > > Adrian McMenamin wrote:
> > > > > On 25/07/07, Clemens Ladisch <cladisch@fastmail.net> wrote:
> > > > > > 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),
> > > >
> > > > Looks OK.
> > > >
> > > > What are the other snd_pcm_hardware settings?
> > > >
> > >
> > > static struct snd_pcm_hardware snd_pcm_aica_playback_hw = {
> > > .info = (SNDRV_PCM_INFO_NONINTERLEAVED),
> >
> > This one.
> >
> Sorry. "This one" what? Is this the reason why mpg123 has difficulties
> without the plugin? As long as it is not a fault with the driver as
> opposed to a reflection of the hardware, then I am happy.
You need a conversion from INTERLEAVED to NONINTERLEAVED.
Takashi
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2007-07-27 9:53 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-24 22:30 Effect of CONFIG_SND_PCM_OSS_PLUGINS Adrian McMenamin
2007-07-25 6:36 ` Clemens Ladisch
2007-07-26 21:00 ` Adrian McMenamin
2007-07-27 6:21 ` Clemens Ladisch
2007-07-27 7:15 ` Adrian McMenamin
2007-07-27 9:41 ` Takashi Iwai
2007-07-27 9:50 ` Adrian McMenamin
2007-07-27 9:53 ` Takashi Iwai
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.