Hi all,

i have been facing audio record issues.

is there any suggest on this issues please ?

thanks in advance!!!!

On Fri, Dec 2, 2011 at 2:24 PM, venkat k raju <[email protected]> wrote:

> Hi all,
> i am trying to interface audio to MCBSP1 instead of MCBSP2 .
> here i had made some changes, then i am able to play audio .
> but in case audio record i got error .
> #arecord -t wav -c 2 -r 44100 -f S16_LE -v test.wave
>
> Recording WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz,
> Stereo
> Plug PCM: Hardware PCM card 0 'omap3beagle' device 0 subdevice 0
> Its setup is:
>   stream       : CAPTURE
>   access       : RW_INTERLEAVED
>   format       : S16_LE
>   subformat    : STD
>   channels     : 2
>   rate         : 44100
>   exact rate   : 44100 (44100/1)
>   msbits       : 16
>   buffer_size  : 14280
>   period_size  : 56
>   period_time  : 1269
>   tstamp_mode  : NONE
>   period_step  : 1
>   avail_min    : 56
>   period_event : 0
>   start_threshold  : 1
>   stop_threshold   : 14280
>   silence_threshold: 0
>   silence_size : 0
>   boundary     : 1871708160
> error : input/output error.
>
> please suggest me where and all i have to make changes in 32 kernel .
>
> thanks in advance.
>
>
> On Thu, Dec 1, 2011 at 10:08 AM, venkat k raju <[email protected]>wrote:
>
>> Hi all,
>>
>> i have been working on the am3703 with beagleboard default kernel config
>> file.
>>
>> now i am trying work on the audio part playing and recording.
>> my custom board have McBSP1 as audio interface to TPS65930 controller.
>> but in beagleboard McBSP2 as audio interface,  so that i had made
>> configure to McBSP1 instead of McBSP2.
>> audio was playing fine. incase of audio recording i got error.
>>
>>
>>
>> #arecord -t wav -c 2 -r 44100 -f S16_LE -v test.wav
>> Recording WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz,
>> Stereo
>> Plug PCM: Hardware PCM card 0 'omap3beagle' device 0 subdevice 0
>> Its setup is:
>>   stream       : CAPTURE
>>   access       : RW_INTERLEAVED
>>   format       : S16_LE
>>   subformat    : STD
>>   channels     : 2
>>   rate         : 44100
>>   exact rate   : 44100 (44100/1)
>>   msbits       : 16
>>   buffer_size  : 14280
>>   period_size  : 56
>>   period_time  : 1269
>>   tstamp_mode  : NONE
>>   period_step  : 1
>>   avail_min    : 56
>>   period_event : 0
>>   start_threshold  : 1
>>   stop_threshold   : 14280
>>   silence_threshold: 0
>>   silence_size : 0
>>   boundary     : 1871708160
>>   read error: Input/output error  ///////// then it's terminating
>>
>> please suggest me where i have to make changes to record using McBSP1
>> port, or tell me where is going wrong here.
>>
>>
>> thanks in advance.
>>
>>
>>
>> On Wed, Nov 30, 2011 at 3:58 PM, venkat k raju <[email protected]>wrote:
>>
>>> Hi Satish Patel,Vishveshwar
>>>
>>> please check my arecord message . i got input/output error .
>>>
>>> #arecord -t wav -c 2 -r 44100 -f S16_LE -v test.wav
>>> Recording WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz,
>>> Stereo
>>> Plug PCM: Hardware PCM card 0 'omap3beagle' device 0 subdevice 0
>>> Its setup is:
>>>   stream       : CAPTURE
>>>   access       : RW_INTERLEAVED
>>>   format       : S16_LE
>>>   subformat    : STD
>>>   channels     : 2
>>>   rate         : 44100
>>>   exact rate   : 44100 (44100/1)
>>>   msbits       : 16
>>>   buffer_size  : 14280
>>>   period_size  : 56
>>>   period_time  : 1269
>>>   tstamp_mode  : NONE
>>>   period_step  : 1
>>>   avail_min    : 56
>>>   period_event : 0
>>>   start_threshold  : 1
>>>   stop_threshold   : 14280
>>>   silence_threshold: 0
>>>   silence_size : 0
>>>   boundary     : 1871708160
>>>   read error: Input/output error  ///////// then it's terminating
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> On Wed, Nov 30, 2011 at 1:05 PM, venkat k raju <[email protected]>wrote:
>>>
>>>>
>>>> Hi Vishveshwar, Satish Patel,
>>>>
>>>> thanks for your response.
>>>>
>>>> my custom board audio interface connected to MCBSP1, i didn't notify it.
>>>> i configure those respective resisters then audio play is working fine.
>>>> i got some problem with recording. i am trying it.
>>>>
>>>>
>>>>
>>>>
>>>> On Wed, Nov 30, 2011 at 12:29 PM, Vishveshwar 
>>>> <[email protected]>wrote:
>>>>
>>>>> Venkat,
>>>>>
>>>>> What codec device are you using on your board?
>>>>> Please post the kernel bootlogs.
>>>>>
>>>>> -Vishveshwar
>>>>>
>>>>> On Nov 29, 5:20 pm, venkat k raju <[email protected]> wrote:
>>>>> > Hi Satish Patel,
>>>>> > i had tested,but same problem  .
>>>>> >
>>>>> > On Tue, Nov 29, 2011 at 3:53 PM, Satish Patel <
>>>>> [email protected]>wrote:
>>>>> >
>>>>> >
>>>>> >
>>>>> > > Hi Raju,
>>>>> > > it means from linux kernel itsself it is not working. Do you
>>>>> forget to
>>>>> > > have any configuration
>>>>> >
>>>>> > > see if below settings works for yo
>>>>> > > alsa_amixer cset name='DL1 Mixer Multimedia' 1
>>>>> > > alsa_amixer cset name='DL1 Media Playback Volume' 118
>>>>> > > alsa_amixer cset name='Sidetone Mixer Playback' 1
>>>>> > > alsa_amixer cset name='SDT DL Volume' 120
>>>>> > > alsa_amixer cset name='DL1 PDM Switch' 1
>>>>> > > alsa_amixer cset name='HS Left Playback' 'HS DAC'
>>>>> > > alsa_amixer cset name='HS Right Playback' 'HS DAC'
>>>>> > > alsa_amixer cset name='Headset Playback Volume' 13
>>>>> >
>>>>> > > alsa_amixer cset name='Analog Left Capture Route' 'Headset Mic'
>>>>> > > alsa_amixer cset name='Analog Right Capture Route' 'Headset Mic'
>>>>> > > alsa_amixer cset name='Capture Preamplifier Volume' 1
>>>>> > > alsa_amixer cset name='Capture Volume' 4
>>>>> > > alsa_amixer cset name='AMIC_UL PDM Switch' 1
>>>>> > > alsa_amixer cset name='MUX_UL00' 'AMic1'
>>>>> > > alsa_amixer cset name='MUX_UL11' 'AMic0'
>>>>> >
>>>>> > > BR,
>>>>> > > satish
>>>>> >
>>>>> > > On Mon, Nov 28, 2011 at 4:56 PM, venkat k raju <
>>>>> [email protected]>wrote:
>>>>> >
>>>>> > >> Hi Satish Patel,
>>>>> > >> thanks for you response.
>>>>> >
>>>>> > >> i tested ,but but no sound and stacking there it self.
>>>>> >
>>>>> > >> # alsa_arecord -D plughw:0,0 | alsa_aplay -D plughw:0,0
>>>>> > >> Recording WAVE 'stdin' : Unsigned 8 bit, Rate 8000 Hz, Mono
>>>>> > >> Playing WAVE 'stdin' : Unsigned 8 bit, Rate 8000 Hz, Mono // here
>>>>> it's
>>>>> > >> stacking
>>>>> >
>>>>> > >> please verify it
>>>>> >
>>>>> > >> thanks in advance.
>>>>> >
>>>>> > >> On Mon, Nov 28, 2011 at 4:55 PM, venkat k raju <
>>>>> [email protected]>wrote:
>>>>> >
>>>>> > >>> Hi Satish Patel,
>>>>> > >>> thanks for you respose.
>>>>> > >>> i tested ,but but no sound and stacking there it self.
>>>>> >
>>>>> > >>> # alsa_arecord -D plughw:0,0 | alsa_aplay -D plughw:0,0
>>>>> > >>> Recording WAVE 'stdin' : Unsigned 8 bit, Rate 8000 Hz, Mono
>>>>> > >>> Playing WAVE 'stdin' : Unsigned 8 bit, Rate 8000 Hz, Mono //
>>>>> here it's
>>>>> > >>> stacking
>>>>> >
>>>>> > >>> please verify it
>>>>> >
>>>>> > >>> On Mon, Nov 28, 2011 at 2:56 PM, Satish Patel <
>>>>> [email protected]>wrote:
>>>>> >
>>>>> > >>>> Hi raju,
>>>>> > >>>> could you check alsa alone from command line
>>>>> > >>>> alsa_arecord -D plughw:0,0 | alsa_aplay -D plughw:0,0
>>>>> >
>>>>> > >>>> (make a copy of alsa_aplay as alsa_arecord)
>>>>> >
>>>>> > >>>> BR,
>>>>> > >>>> satish
>>>>> >
>>>>> > >>>> On Mon, Nov 28, 2011 at 1:11 PM, venkat k raju <
>>>>> [email protected]>wrote:
>>>>> >
>>>>> > >>>>> Hi all,
>>>>> >
>>>>> > >>>>> i had been facing audio problem in am3703. i am using
>>>>> kernel-2.6.32
>>>>> > >>>>> version.
>>>>> >
>>>>> > >>>>>  from the command line i was trying to play audio .mp3 file.
>>>>> > >>>>> case 1)
>>>>> >
>>>>> > >>>>> if i specified -ao alsa it was stacking.
>>>>> > >>>>> please check my mplayer message bellow one.
>>>>> >
>>>>> > >>>>> #mplayer -ao alsa Excuse_Me_Mr_Mallannaa_.mp3
>>>>> > >>>>> MPlayer dev-SVN-r28346-4.3.3 (C) 2000-2009 MPlayer Team
>>>>> > >>>>> CPU: ARM
>>>>> >
>>>>> > >>>>> Playing Excuse_Me_Mr_Mallannaa_.mp3.
>>>>> > >>>>> Audio only file format detected.
>>>>> > >>>>> Clip info:
>>>>> > >>>>>  Title: Excuse Me Mr Mallannaa~www.MoR
>>>>> > >>>>>  Artist: Vikram,Suchitra Karthik Kumar
>>>>> > >>>>>  Album: Mallanna(2009)
>>>>> > >>>>>  Year: 2009
>>>>> > >>>>>  Comment: ~TeluguDumps.blogspot.com
>>>>> > >>>>>  Track: 1
>>>>> > >>>>>  Genre: Other
>>>>> >
>>>>> > >>>>>
>>>>> ==========================================================================
>>>>> > >>>>> Forced audio codec: mad
>>>>> > >>>>> Opening audio decoder: [libmad] libmad mpeg audio decoder
>>>>> > >>>>> AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio:
>>>>> 16000->176400)
>>>>> > >>>>> Selected audio codec: [mad] afm: libmad (libMAD MPEG layer
>>>>> 1-2-3)
>>>>> >
>>>>> > >>>>>
>>>>> ==========================================================================
>>>>> > >>>>> AO: [alsa] 44100Hz 2ch s16le (2 bytes per sample)
>>>>> > >>>>> Video: no video
>>>>> > >>>>> Starting playback...
>>>>> > >>>>> A:   0.0 (00.0) of 356.0 (05:56.0) ??,?% // after that it was
>>>>> stacking
>>>>> > >>>>> here itself.
>>>>> >
>>>>> > >>>>> case 2)
>>>>> > >>>>> without specifying the -ao alsa flag while running the mplayer
>>>>> from
>>>>> > >>>>> the command prompt it's playing but no sound at all.
>>>>> >
>>>>> > >>>>> #mplayer Excuse_Me_Mr_Mallannaa_.mp3
>>>>> > >>>>> MPlayer dev-SVN-r28346-4.3.3 (C) 2000-2009 MPlayer Team
>>>>> > >>>>> CPU: ARM
>>>>> >
>>>>> > >>>>> Playing Excuse_Me_Mr_Mallannaa_.mp3.
>>>>> > >>>>> Audio only file format detected.
>>>>> > >>>>> Clip info:
>>>>> > >>>>>  Title: Excuse Me Mr Mallannaa~www.MoR
>>>>> > >>>>>  Artist: Vikram,Suchitra Karthik Kumar
>>>>> > >>>>>  Album: Mallanna(2009)
>>>>> > >>>>>  Year: 2009
>>>>> > >>>>>  Comment: ~TeluguDumps.blogspot.com
>>>>> > >>>>>  Track: 1
>>>>> > >>>>>  Genre: Other
>>>>> >
>>>>> > >>>>>
>>>>> ==========================================================================
>>>>> > >>>>> Forced audio codec: mad
>>>>> > >>>>> Opening audio decoder: [libmad] libmad mpeg audio decoder
>>>>> > >>>>> AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio:
>>>>> 16000->176400)
>>>>> > >>>>> Selected audio codec: [mad] afm: libmad (libMAD MPEG layer
>>>>> 1-2-3)
>>>>> >
>>>>> > >>>>>
>>>>> ==========================================================================
>>>>> > >>>>> AO: [oss] 44100Hz 2ch s16le (2 bytes per sample)
>>>>> > >>>>> Video: no video
>>>>> > >>>>> Starting playback...
>>>>> > >>>>> A:  24.9 (24.8) of 356.0 (05:56.0)  2.9%
>>>>> > >>>>> Exiting... (Quit)
>>>>> >
>>>>> > >>>>> please suggest me what could be wrong here in case hard ware or
>>>>> > >>>>> software?
>>>>> >
>>>>> > >>>>> thanks in advance.
>>>>> >
>>>>> > >>>>> thanks&Regards
>>>>> > >>>>> k.v.raju
>>>>> >
>>>>> > >>>>>  --
>>>>> > >>>>> You received this message because you are subscribed to the
>>>>> Google
>>>>> > >>>>> Groups "rowboat" group.
>>>>> > >>>>> To post to this group, send email to [email protected].
>>>>> > >>>>> To unsubscribe from this group, send email to
>>>>> > >>>>> [email protected].
>>>>> > >>>>> For more options, visit this group at
>>>>> > >>>>>http://groups.google.com/group/rowboat?hl=en.
>>>>> >
>>>>> > >>>> --
>>>>> > >>>> Regards,
>>>>> > >>>> satish patel
>>>>> >
>>>>> > >>>> --
>>>>> > >>>> You received this message because you are subscribed to the
>>>>> Google
>>>>> > >>>> Groups "rowboat" group.
>>>>> > >>>> To post to this group, send email to [email protected].
>>>>> > >>>> To unsubscribe from this group, send email to
>>>>> > >>>> [email protected].
>>>>> > >>>> For more options, visit this group at
>>>>> > >>>>http://groups.google.com/group/rowboat?hl=en.
>>>>> >
>>>>> > >>> --
>>>>> > >>> thanks&Regards
>>>>> > >>> k.v.raju
>>>>> >
>>>>> > >> --
>>>>> > >> thanks&Regards
>>>>> > >> k.v.raju
>>>>> >
>>>>> > >> --
>>>>> > >> You received this message because you are subscribed to the
>>>>> Google Groups
>>>>> > >> "rowboat" group.
>>>>> > >> To post to this group, send email to [email protected].
>>>>> > >> To unsubscribe from this group, send email to
>>>>> > >> [email protected].
>>>>> > >> For more options, visit this group at
>>>>> > >>http://groups.google.com/group/rowboat?hl=en.
>>>>> >
>>>>> > > --
>>>>> > > Regards,
>>>>> > > satish patel
>>>>> >
>>>>> > > --
>>>>> > > You received this message because you are subscribed to the Google
>>>>> Groups
>>>>> > > "rowboat" group.
>>>>> > > To post to this group, send email to [email protected].
>>>>> > > To unsubscribe from this group, send email to
>>>>> > > [email protected].
>>>>> > > For more options, visit this group at
>>>>> > >http://groups.google.com/group/rowboat?hl=en.
>>>>> >
>>>>> > --
>>>>> > thanks&Regards
>>>>> > k.v.raju
>>>>>
>>>>> --
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "rowboat" group.
>>>>> To post to this group, send email to [email protected].
>>>>> To unsubscribe from this group, send email to
>>>>> [email protected].
>>>>> For more options, visit this group at
>>>>> http://groups.google.com/group/rowboat?hl=en.
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> thanks&Regards
>>>> k.v.raju
>>>>
>>>
>>>
>>>
>>> --
>>> thanks&Regards
>>> k.v.raju
>>>
>>
>>
>>
>> --
>> thanks&Regards
>> k.v.raju
>>
>
>
>
> --
> thanks&Regards
> k.v.raju
>



-- 
thanks&Regards
k.v.raju

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to