Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Hardware & Devices
  4. port access

port access

Scheduled Pinned Locked Moved Hardware & Devices
tutorialquestion
6 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    nas_mit
    wrote on last edited by
    #1

    I needed to develop a "volume control and Rcording control program" for my computer, but I don't know how to access the ports. Can anyone tell me how to access the ports? I am using the phone, mic/line pins of my sound card. if required: windows xp 2006 creative sound card

    love U much...

    S 1 Reply Last reply
    0
    • N nas_mit

      I needed to develop a "volume control and Rcording control program" for my computer, but I don't know how to access the ports. Can anyone tell me how to access the ports? I am using the phone, mic/line pins of my sound card. if required: windows xp 2006 creative sound card

      love U much...

      S Offline
      S Offline
      Steve S
      wrote on last edited by
      #2

      Why do you need to access the ports? The multimedia API has provision for most of this stuff, and is more portable (works on more than one type/brand of card). BTW,

      nas_mit wrote:

      windows xp 2006

      Did I miss a release somewhere? :)

      Steve S Developer for hire

      N 1 Reply Last reply
      0
      • S Steve S

        Why do you need to access the ports? The multimedia API has provision for most of this stuff, and is more portable (works on more than one type/brand of card). BTW,

        nas_mit wrote:

        windows xp 2006

        Did I miss a release somewhere? :)

        Steve S Developer for hire

        N Offline
        N Offline
        nas_mit
        wrote on last edited by
        #3

        Thanks Steve, sorry for the delay Well Steve, I thought a knowlege of port address was important for controlling the volume of the signal that comes out of it. Because if I know the address that means I can buffer the signal data and process it with the software that I am going to creat. Isn't that true? I don't know much of this, I with my friend are working in college on this stuff.:doh:

        love U much...

        S 1 Reply Last reply
        0
        • N nas_mit

          Thanks Steve, sorry for the delay Well Steve, I thought a knowlege of port address was important for controlling the volume of the signal that comes out of it. Because if I know the address that means I can buffer the signal data and process it with the software that I am going to creat. Isn't that true? I don't know much of this, I with my friend are working in college on this stuff.:doh:

          love U much...

          S Offline
          S Offline
          Steve S
          wrote on last edited by
          #4

          Let me see if I have this straight. You have a sound card, and want to be able to record incoming sound from it, and/or play outgoings sounds. If you are doing this under a Win32/64 system, then either the multimedia APIs or DirectX would be a good bet for this. In both cases, you can access the incoming or outgoing PCM data and do what you want with it. If you are using some other system (DOS/L*n*x or similar/a.n.other) then yup, you probably need to know port addresses and such for the hardware, and it will be hardware-specific.

          Steve S Developer for hire

          N 1 Reply Last reply
          0
          • S Steve S

            Let me see if I have this straight. You have a sound card, and want to be able to record incoming sound from it, and/or play outgoings sounds. If you are doing this under a Win32/64 system, then either the multimedia APIs or DirectX would be a good bet for this. In both cases, you can access the incoming or outgoing PCM data and do what you want with it. If you are using some other system (DOS/L*n*x or similar/a.n.other) then yup, you probably need to know port addresses and such for the hardware, and it will be hardware-specific.

            Steve S Developer for hire

            N Offline
            N Offline
            nas_mit
            wrote on last edited by
            #5

            Steve, I realy appreciate your help. But may be I didn't make myself clear... Let me say it in other words, there are some music softwares like soud forge, cubase sx, adobe audiotion ... etc that have a mixer inside, using these software one can can chage the test of the sound may be recorded as you said either with the multimedia APIs or DirectX. Therfore I thought this would be possible to create a little software just like the "windows volume control form" to control the sound(volume, treble, basss)that comes from outside. So where does the data reside that comes from the sound port? Thanks Steve!:)

            love U much...

            L 1 Reply Last reply
            0
            • N nas_mit

              Steve, I realy appreciate your help. But may be I didn't make myself clear... Let me say it in other words, there are some music softwares like soud forge, cubase sx, adobe audiotion ... etc that have a mixer inside, using these software one can can chage the test of the sound may be recorded as you said either with the multimedia APIs or DirectX. Therfore I thought this would be possible to create a little software just like the "windows volume control form" to control the sound(volume, treble, basss)that comes from outside. So where does the data reside that comes from the sound port? Thanks Steve!:)

              love U much...

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #6

              As Steve has said, the DirectX SDK will allow this. It means that you work through standard interfaces to the card drivers. Look up TAPI as well. Elaine :rose:

              The tigress is here :-D

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups