Hi there, What audio codec chip you are using? If I were you, I would check the registers. Start with a register dump and then compare the register values with the codec manual.
If anything is missing, manually add the configuration to the registers. hope this helps Murali On Tue, Jan 4, 2011 at 1:42 PM, Nilly <[email protected]> wrote: > To Add more My application is sending stereo data to audio flinger > which in turns using audio track. > I have verified num of channel and it is 2. Also vol of left and right > channel is same 1.0. > Please let me know any thing is wrong. > > > On Jan 3, 2:10 pm, Nilly <[email protected]> wrote: > > Hi All, > > > > I have written simple application using audio flinger to play audio > > but than output is mono. whereas default music player is playing in > > stereo. I have set stereo channel from my Code. Also alsa HW paramas > > output is > > > > cat /proc/asound/card0/pcm0p/sub0/hw_params > > access: MMAP_INTERLEAVED > > format: S16_LE > > subformat: STD > > channels: 2 > > rate: 44100 (44100/1) > > period_size: 1536 > > buffer_size: 6144 > > > > Channel is coming 2. > > > > Do I need set something for my application? > > > > Regards, > > Niral > > -- > unsubscribe: > [email protected]<android-porting%[email protected]> > website: http://groups.google.com/group/android-porting > -- न चोर हार्यं न च राजहार्यं न भ्रातृभाज्यं न च भारकारी व्ययी कृते वर्धत एव नित्यं विद्या धनं सर्व धनं प्रधानं Thieves cannot steal it, Kings cannot tax it, Siblings cannot demand a share in it, and it does not weigh a lot, The more you spend it, increases every day, the wealth of knowledge is the PRIME WEALTH . -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
