Triode wrote:
> OK - I'd expect ALSA to do everything portaudio does on linux though..?
> I really only have portaudio linux support to help me develop the
> windows/osx versions.
To be perfectly honest, I can't think of any time I've actually used
portaudio before. I've certainly never made a concious choice to use
it.
Code:
--------------------
--- output.c.orig 1985-08-14 00:00:00.000000000 +0100
+++ output.c 2013-01-18 22:09:24.729013864 +0000
@@ -162,8 +162,8 @@
return false;
}
- if (*max_rate > 192000) {
- *max_rate = 192000;
+ if (*max_rate > 384000) {
+ *max_rate = 384000;
}
if ((err = snd_pcm_close(pcm)) < 0) {
@@ -383,7 +383,7 @@
static bool test_open(const char *device, u32_t *max_rate) {
PaStreamParameters outputParameters;
PaError err;
- u32_t rates[] = { 192000, 176400, 96000, 88200, 48000, 44100, 0 };
+ u32_t rates[] = { 384000, 352800, 192000, 176400, 96000, 88200, 48000,
44100, 0 };
int device_id, i;
if ((device_id = pa_device_id(device)) == -1) {
--------------------
------------------------------------------------------------------------
JackOfAll's Profile: http://forums.slimdevices.com/member.php?userid=3069
View this thread: http://forums.slimdevices.com/showthread.php?t=97046
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix