bump max number of possible ALSA backend channels
authorRobin Gareus <robin@gareus.org>
Sun, 29 May 2016 12:30:05 +0000 (14:30 +0200)
committerRobin Gareus <robin@gareus.org>
Sun, 29 May 2016 18:36:32 +0000 (20:36 +0200)
libs/backends/alsa/zita-alsa-pcmi.h

index 27af0223eb35ccffec87603306d1e06e62f5ff07..48c2396c191137dd12c43ddeb7df881101f3d0b2 100644 (file)
@@ -123,7 +123,7 @@ private:
        typedef char *(Alsa_pcmi::*play_function)(const float *, char *, int, int);
        typedef const char *(Alsa_pcmi::*capt_function) (const char *, float *, int, int);
 
-       enum { MAXPFD = 16, MAXCHAN = 64 };
+       enum { MAXPFD = 16, MAXCHAN = 128 };
 
        void initialise (const char *play_name, const char *capt_name, const char *ctrl_name);
        int set_hwpar (snd_pcm_t *handle, snd_pcm_hw_params_t *hwpar, const char *sname, unsigned int nfrag, unsigned int *nchan);