Hello group, I am back with some more audio related problems (sic). Anyway, the issue is capturing the Audio.
After I am successfully able to do everything on Audio Play side, now I just looked at audio capture: These are the proc contents for* /proc/asound/card0/pcm0c/sub0* # ls -l -r--r--r-- root root 0 1970-01-01 00:01 status -r--r--r-- root root 0 1970-01-01 00:01 sw_params -r--r--r-- root root 0 1970-01-01 00:01 hw_params -r--r--r-- root root 0 1970-01-01 00:01 info # cat status closed # cat sw_params closed # cat hw_params closed # cat info card: 0 device: 0 subdevice: 0 stream: CAPTURE id: Audio Playback WM8993-0 name: subname: subdevice #0 class: 0 subclass: 0 subdevices_count: 1 subdevices_avail: 1 The playback device on the other hand looks quite better: * /proc/asound/card0/pcm0p/sub0* # cat status state: PREPARED owner_pid : 1022 trigger_time: 0.000000000 tstamp : 155.090576176 delay : 0 avail : 2048 avail_max : 0 ----- hw_ptr : 0 appl_ptr : 0 # cat sw_params tstamp_mode: NONE period_step: 1 avail_min: 512 start_threshold: 2047 stop_threshold: 2048 silence_threshold: 0 silence_size: 0 boundary: 1073741824 # cat hw_params access: RW_INTERLEAVED format: S16_LE subformat: STD channels: 2 rate: 44100 (44100/1) period_size: 512 buffer_size: 2048 # cat info card: 0 device: 0 subdevice: 0 stream: PLAYBACK id: Audio Playback WM8993-0 name: subname: subdevice #0 class: 0 subclass: 0 subdevices_count: 1 subdevices_avail: 0 # Any pointers will be of great help. Murali -- न चोर हार्यं न च राजहार्यं न भ्रातृभाज्यं न च भारकारी व्ययी कृते वर्धत एव नित्यं विद्या धनं सर्व धनं प्रधानं 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
