Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, I have a codec with 2 Inputs. I have Mic connected to one and line in connected to the other. My arecord list shows only one card i.e. hw:0,0 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2013
    Posts
    2

    ALSA Codec Issue


    Hi,
    I have a codec with 2 Inputs. I have Mic connected to one and line in connected to the other. My arecord list shows only one card i.e. hw:0,0 with one subdevice. I can switch between the inputs by writing to the codec registers in the driver file. I wanted to know how could I switch between these inputs from user space or if anyone knows how to add a subdevice in ALSA in the driver code?

    Also is there a way to write to codec registers from alsa user space?

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,452
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •