Package: libasound2-doc Version: 1.0.23-2.1 Severity: normal
The file "/usr/share/doc/libasound2-doc/html/_2test_2latency_8c-example.html" contains an example program, which doesn't compile: % lynx -dump -nolist -dont_wrap_pre /usr/share/doc/libasound2-doc/html/_2test_2latency_8c-example.html > demo.c % vi demo.c [ remove header and footer from web page ] % gcc demo.c -lasound -o demo demo.c:36:34: error: ../include/asoundlib.h: Ingen sådan fil eller filkatalog [...] % perl -i~ -lpe 's|"../include/asoundlib.h"|<alsa/asoundlib.h>|' demo.c % gcc demo.c -lasound -o demo % ./demo !!!Scheduler set to Round Robin with priority 99 FAILED!!! Playback device is hw:0,0 Capture device is hw:0,0 Parameters are 22050Hz, S16_LE, 2 channels, non-blocking mode Poll mode: no Loop limit is 661500 frames, minimum latency = 64, maximum latency= 4096 Rate doesn't match (requested 22050Hz, get 0Hz) Unable to set parameters for playback stream: Invalid argument % -- System Information: Debian Release: 6.0.5 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-0.bpo.2-amd64 (SMP w/4 CPU cores) Locale: LANG=fo_FO.ISO-8859-1, LC_CTYPE=fo_FO.ISO-8859-1 (charmap=ISO-8859-1) Shell: /bin/sh linked to /bin/dash libasound2-doc depends on no packages. libasound2-doc recommends no packages. Versions of packages libasound2-doc suggests: ii libasound2-dev 1.0.23-2.1 shared library for ALSA applicatio -- no debconf information -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

