Any changes in PCM29XX support?

OSS related discussion in general (i.e. not limited to Linux/Solaris/BSD)

Moderators: cesium, dev, kodachi, hannu

Any changes in PCM29XX support?

Postby enkidu » Sat Jan 21, 2012 1:07 am

Hello

I am proud owner of this little nice interface. Anyways, however, I cannot use it with OSS4, but it is supported by ALSA Device have no HW mixer, so I have to mess with JACK or (even worse) PulseAudio. Interface is embedded in hardware mixer, so I can't just replace it. Anyways, my second interface is not properly supported by ALSA.

What is chance to get it to work?
enkidu
New Member
 
Posts: 2
Joined: Sat Jan 21, 2012 12:56 am

Re: Any changes in PCM29XX support?

Postby enkidu » Thu Aug 30, 2012 11:16 pm

so finally I managed to make a dirty hack and it works (with 44100 and 48000 rates at least):

in file ossusb_audio.c
Code: Select all
static int
write_control_value (ossusb_devc * devc, udi_endpoint_handle_t * endpoint,
                     int ctl, int l, unsigned int v)
{
  unsigned char buf[4];
  int len;
  if (v == 44100)
    return 3;
  if (v == 48000)
    return 3;


PCM2902 dont like setting its data rate - it reads such info from data packet header. While recording, it relies on altsettings only.
enkidu
New Member
 
Posts: 2
Joined: Sat Jan 21, 2012 12:56 am


Return to General Discussion

Who is online

Users browsing this forum: Google [Bot] and 1 guest