Introducing a /proc/asound/card0/pcm0{p,c}/hw_limits or similar might not be
a bad idea though?
That would be good idea, with completion with 'alsainfo' about device.
How to do that properly, any clues before I try to sink my teeths in ALSA code?
P.
On Mon, 8 Oct 2007, Peteris Krisjanis wrote:
Introducing a /proc/asound/card0/pcm0{p,c}/hw_limits or similar might not be
a bad idea though?
That would be good idea, with completion with 'alsainfo' about device.
How to do that properly, any clues before I try to sink my teeths in ALSA
On 10/08/2007 09:14 PM, Bill Unruh wrote:
On Mon, 8 Oct 2007, Peteris Krisjanis wrote:
Introducing a /proc/asound/card0/pcm0{p,c}/hw_limits or similar might
not be a bad idea though?
That would be good idea, with completion with 'alsainfo' about device.
How to do that properly, any
On 10/08/2007 09:30 PM, Rene Herman wrote:
On 10/08/2007 09:14 PM, Bill Unruh wrote:
Introducing a /proc/asound/card0/pcm0{p,c}/hw_limits or similar might
not be a bad idea though?
[ ... ]
It could also be done in userspace by opening the stream and quering the
format_mask, channels and
On 10/06/2007 11:56 PM, Peteris Krisjanis wrote:
I have onboard sound card of ATI fame:
:00:14.2 Audio device: ATI Technologies Inc SB450 HDA Audio (rev 01)
Uses snd-intel-hda module.
So, this sound card seems to be fixed to 48000Hz for recording. I
know, that using plughw will help to
Current sample rate only has meaning with the device open , and if I
understand you right, a cat /proc/asound/card0/pcm0{p,c}/sub0/hw_params
will then get you what you want as to the get part (substitute for 0 in
the above as required).
I actually meant what kind of sample rate is set in
On 10/07/2007 07:04 PM, Peteris Krisjanis wrote:
Current sample rate only has meaning with the device open , and if I
understand you right, a cat
/proc/asound/card0/pcm0{p,c}/sub0/hw_params will then get you what you
want as to the get part (substitute for 0 in the above as required).
I
On 2007-10-08 08:23, Rene Herman wrote:
You might consider this less of of a hack -- it uses the ALSA API to query
the information from the PCM handle directly. Please see the library
docoumentation for other information you can extract from a hw_params struct.
(I don't suppose you can
On 10/08/2007 12:41 AM, Mark Constable wrote:
Any chance that your program could take an arg to investigate
other cards (or perhaps plugins) and also return an errno so
it could be used in scripts ?
Only if you promise to never drop CCs again (although I don't know about
plugins).
# gcc
I have onboard sound card of ATI fame:
:00:14.2 Audio device: ATI Technologies Inc SB450 HDA Audio (rev 01)
Uses snd-intel-hda module.
So, this sound card seems to be fixed to 48000Hz for recording. I
know, that using plughw will help to avoid any problems with
resampling and I also have no
10 matches
Mail list logo