From: Paul W. <pa...@ma...> - 2007-12-11 08:20:54
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Tobias Doerffel wrote: > Working here with ALSA without any problems - even with various programs > having sound opened. However I think it'd no problem to add > PulseAudio-support as the API looks quite simple (according to > http://0pointer.de/lennart/projects/pulseaudio/doxygen/paplay_8c-example.html). I've used ALSA just fine for most of the time, but upgrading to Fedora Werewolf has meant getting PulseAudio. I can disable it and use plain ALSA, but increasingly it seems to lock up when trying to play even if there are no other sound apps playing or even loaded. Is there some kind of debugging mode I could possibly run in to see what might be causing this? I'm not blaming the code at all - I know it works :-) - I'm just trying to debug what's going wrong on my system. > huh? Most of the icons were made using GIMP and I can open them with whatever > application I like. OK, well from the look of it what's happened is some kind of line end conversion. Here's a dump of a file in the stable-0.3 resources, and an icon I made from a screen capture: [paulway@localhost lmms-0.3]$ od -t x1c resources/play.png | head -10 0000000 89 50 4e 47 0a 1a 0a 00 00 00 0a 49 48 44 52 00 211 P N G \n 032 \n \0 \0 \0 \n I H D R \0 0000020 00 00 18 00 00 00 18 08 06 00 00 00 e0 77 3d f8 \0 \0 030 \0 \0 \0 030 \b 006 \0 \0 \0 340 w = 370 0000040 00 00 00 06 62 4b 47 44 00 ff 00 ff 00 ff a0 bd \0 \0 \0 006 b K G D \0 377 \0 377 \0 377 240 275 0000060 a7 93 00 00 00 09 70 48 59 73 00 00 0b 13 00 00 247 223 \0 \0 \0 \t p H Y s \0 \0 \v 023 \0 \0 0000100 0b 13 01 00 9a 9c 18 00 00 00 07 74 49 4d 45 07 \v 023 001 \0 232 234 030 \0 \0 \0 \a t I M E \a [paulway@localhost lmms-0.3]$ od -t x1c /home/paulway/sites/lmms-imgs/lmms-0.3.1/icons-play.png | head -10 0000000 89 50 4e 47 0d 0a 1a 0a 00 00 00 0d 49 48 44 52 211 P N G \r \n 032 \n \0 \0 \0 \r I H D R 0000020 00 00 00 1e 00 00 00 1e 08 03 00 00 00 0c ee 5e \0 \0 \0 036 \0 \0 \0 036 \b 003 \0 \0 \0 \f 356 ^ 0000040 90 00 00 00 01 73 52 47 42 00 ae ce 1c e9 00 00 220 \0 \0 \0 001 s R G B \0 256 316 034 351 \0 \0 0000060 03 00 50 4c 54 45 00 01 00 03 04 0e 04 0b 27 07 003 \0 P L T E \0 001 \0 003 004 016 004 \v ' \a 0000100 0e 10 1d 0b 03 12 13 10 0d 15 1b 14 18 19 2f 12 016 020 035 \v 003 022 023 020 \r 025 033 024 030 031 / 022 The first one has the \r \n turned into a single \n. For some reason a later \r is converted into an \n rather than disappearing, but it's too late - the header's off by one. So I'm not sure how I ever got this to compile, although it may have made them into some kind of resource file which has stayed on my hard disk since I first downloaded 0.3. I'll try deleting them and downloading them from somewhere else and see if that helps. Thanks, Paul > > toby -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFHXkhau7W0U8VsXYIRAkROAJ92E1+GC3uvoNO7VnFDKm3Xg8sVOgCgg2n2 sqk3tpNOLR41hEgGLYO/kZI= =AOc4 -----END PGP SIGNATURE----- |