Driver hardw + softw parameters
Hi All,
still trying to get the hardware and software
runtime paramters of the driver...
In alsa-driver*/alsa-kernel/core there is the pcm.c
file.
There are 2 functions in this filesnd_pcm_substream_proc_hw_params_read
andsnd_pcm_substream_proc_sw_params_read
Both of these print out to some output source the
information I need using i.e.
snd_iprintf(buffer, "period_size: %lu\n",runtime->period_size);
snd_iprintf is in /alsa-driver/alsa-kernel/info.c
I traced this snd_iprintf function and it passes its data in a buffer to the function vsnprintf(..). Could someone enlighten me as to where it write to...console, file, temporary storage
thanx,
Brian.
___________________________________________________________
WIN FREE WORLDWIDE FLIGHTS - nominate a cafe in the Yahoo! Mail Internet Cafe Awards www.yahoo.co.uk/internetcafes
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
Quoted 3 lines · Brian Furey
Hi All,
still trying to get the hardware and software
runtime paramters of the driver...
cat /proc/asound/card0/pcm0p/sub0/*
Jaroslav
-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click