hi all ...
currently i'm looking for a way to make it possible to access the information about the audio hardware, like:
- name - max. channels - available hardware buffers / latency - available samplerates
at the moment, only the name of the device can be accessed from audio_getdevs, the other information are information on the current audio hardware configuration of pd...
i'd prefer to add new data structures for every audio device like: struct _audio_hardware_info { char* name; unsigned int inchannels; /* maximum of incoming channels */ unsigned int outchannels; /* maximum of outgoing channels */ t_intlist samplerates; /* available samplerates */ t_intlist buffsizes; /* available hardware buffer sizes */ }
typedef _intlist { int data; _intlist * next; } t_intlist;
i'd be willing to implement these fields and api functions accessing these data...
still, i'd like to know, if someone has another / better idea, how to solve something like this ...
cheers ... tim