~ubuntu-branches/ubuntu/precise/alsa-driver/precise-proposed

« back to all changes in this revision

Viewing changes to alsa-kernel/usb/usx2y/usx2yhwdeppcm.c

  • Committer: Bazaar Package Importer
  • Author(s): Luke Yelavich
  • Date: 2011-02-21 18:06:40 UTC
  • mfrom: (1.1.15 upstream)
  • Revision ID: james.westby@ubuntu.com-20110221180640-a8p2yxtvgf7xbxub
Tags: 1.0.24+dfsg-0ubuntu1
* New upstream release
* Refreshed patches:
  - distinguish_kernel_makefile_and_source_dirs.patch
  - debian_dfsg_configure.patch
* debian/control: Update Vcs-bzr field to point to new branch location

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
         plain usx2y alsa mode is able to achieve 64frames, 4periods, but only at the
37
37
         cost of easier triggered i.e. aeolus xruns (128 or 256frames,
38
38
         2periods works but is useless cause of crackling).
39
 
 
 
39
 
40
40
 This is a first "proof of concept" implementation.
41
 
 Later, funcionalities should migrate to more apropriate places:
 
41
 Later, functionalities should migrate to more apropriate places:
42
42
 Userland:
43
43
 - The jackd could mmap its float-pcm buffers directly from alsa-lib.
44
44
 - alsa-lib could provide power of 2 period sized shaping combined with int/float
54
54
#include <linux/gfp.h>
55
55
#include "usbusx2yaudio.c"
56
56
 
57
 
#if defined(USX2Y_NRPACKS_VARIABLE) || (!defined(USX2Y_NRPACKS_VARIABLE) &&  USX2Y_NRPACKS == 1)
 
57
#if defined(USX2Y_NRPACKS_VARIABLE) || USX2Y_NRPACKS == 1
58
58
 
59
59
#include <sound/hwdep.h>
60
60