Thread: problem with sound device

  1. #1
    Registered User
    Join Date
    Dec 2006
    Posts
    136

    problem with sound device

    hi
    my querry is..
    Ex: i have a mobile... in that am listening the songs... at that time an incoming call is coming..
    i want to lift the call with out quitting or without muting the songs player..
    at the same time i have listen the music ang voice of the caller...
    it is just an example.
    is it possible...?
    how?

    please help me thank you in advance

  2. #2
    Registered User Tonto's Avatar
    Join Date
    Jun 2005
    Location
    New York
    Posts
    1,465
    Anything is possible. Do you honestly expect an answer that is anything more detailed than this answer, given how completely vague you were?

  3. #3
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,195
    Quote Originally Posted by munna_dude View Post
    is it possible...?
    YES
    how?
    by rewriting the firmware of the phone.

  4. #4
    Registered User kryptkat's Avatar
    Join Date
    Dec 2002
    Posts
    638
    Depends on the “mobile”. I am not sure of the hardware of your “mobile” but a wav file or mp3 can have multiple channels. A standard 8 bit riff.

    Code:
    <fmt-ck> ->   fmt( <common-fields> <format-specific-fields> )
    
    <common-fields> ->
    	struct
    	{
    		WORD wFormatTag;         // Format category
    		WORD wChannels;          // Number of channels
    		DWORDdwSamplesPerSec;    // Sampling rate
    		DWORDdwAvgBytesPerSec;   // For buffer estimation
    		WORD wBlockAlign;        // Data block size
    	}
    Code:
     channels       1         2
                 _________ _________ 
                | left    | right   |
      stereo    |         |         |
                |_________|_________|
    
    
                     1         2         3
                 _________ _________ _________ 
                | left    | right   | center  |
      3 channel |         |         |         |
                |_________|_________|_________|
    
                     1         2         3         4
                 _________ _________ _________ _________ 
                | front   | front   | rear    | rear    |
      quad      | left    | right   | left    | right   |
                |_________|_________|_________|_________|
    
                     1         2         3         4
                 _________ _________ _________ _________ 
                | left    | center  | right   | surround|
      4 channel |         |         |         |         |
                |_________|_________|_________|_________|
    
                     1         2         3         4         5         6
                 _________ _________ _________ _________ _________ _________
                | left    | left    | center  | right   | right   |surround |
      6 channel | center  |         |         | center  |         |         |
                |_________|_________|_________|_________|_________|_________|
    by using different number of channels you can separate the audio. But that requires more speakers.

    What do you mean by “lift”? You can deal with each channel as needed.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Linux Problem Screen Resoultion
    By Matus in forum Tech Board
    Replies: 1
    Last Post: 01-29-2009, 04:39 PM
  2. Sound lags in multi-thread version
    By VirtualAce in forum Game Programming
    Replies: 23
    Last Post: 08-27-2008, 11:54 AM
  3. making smart device cab problem
    By mr_empty in forum Windows Programming
    Replies: 1
    Last Post: 01-08-2008, 03:01 AM
  4. Bin packing problem....
    By 81N4RY_DR460N in forum C++ Programming
    Replies: 0
    Last Post: 08-01-2005, 05:20 AM
  5. DirectMusic engine problem
    By VirtualAce in forum Game Programming
    Replies: 7
    Last Post: 03-17-2005, 06:12 PM