Commit graph

  • 71b3bff681 * modify pa_context_exit_daemon() to return a pa_operation object * add callback prototypes to all introspection functions in client lib * add proper validity checking and error handling to all functions in the client lib * other minor cleanups * todo update Lennart Poettering 2006-02-20 22:41:02 +00:00
  • 98cb6aa4a3 * a lot of doxygen updates * s/pa_operation_callback/pa_operation_callback_t/g * add more typedefs for function prototypes * add API to query the channel map used by a pa_stream Lennart Poettering 2006-02-20 17:09:39 +00:00
  • 71e063a695 todo update Lennart Poettering 2006-02-20 16:34:46 +00:00
  • ddd51e2c6c add doxygen docs for channel map Lennart Poettering 2006-02-20 16:31:39 +00:00
  • 7905e819ab Add aligment fix in esound to todo. Pierre Ossman 2006-02-20 16:24:02 +00:00
  • 3bc09025ed minor doxygen fixes Lennart Poettering 2006-02-20 16:23:12 +00:00
  • 5d253cd30c Fix some warnings by making sure we have the right signedness on things. Pierre Ossman 2006-02-20 16:21:19 +00:00
  • 502d3f551b Hardware volume support for Solaris. Pierre Ossman 2006-02-20 16:13:10 +00:00
  • 6d09602460 replace "spawn" parameter of pa_context_new() with a proper flags parameter Lennart Poettering 2006-02-20 16:10:20 +00:00
  • e078f084e4 explcitily cast strings to make gcc shut up Lennart Poettering 2006-02-20 16:09:25 +00:00
  • 4566d56e31 * Make typdefs for the pa_context callback prototypes * s/pa_context_notify_cb/pa_context_notify_cb_t/g Lennart Poettering 2006-02-20 16:01:53 +00:00
  • b36ed4d23a remove cdecl.h from doxygen docs Lennart Poettering 2006-02-20 15:55:05 +00:00
  • f2292aeeff Fixes for the Solaris detection. Pierre Ossman 2006-02-20 13:59:42 +00:00
  • 5cc0d0e682 Add mute switch to todo. Pierre Ossman 2006-02-20 12:49:16 +00:00
  • 6c2d414e58 Detect support for Windows' waveout. Pierre Ossman 2006-02-20 12:47:03 +00:00
  • d1bc972e69 Detect support for Solaris (/dev/audio). Pierre Ossman 2006-02-20 12:42:28 +00:00
  • 0eed96d764 Remove a debug fprintf that was left in. Pierre Ossman 2006-02-20 10:40:40 +00:00
  • e9658bb997 util.c uses some socket functions so we need winsock on Windows. Pierre Ossman 2006-02-20 10:38:57 +00:00
  • 081fb74c00 update TODO Lennart Poettering 2006-02-20 04:06:13 +00:00
  • 16285f9cc3 make doxygen ignore PA_CDECL_BEGIN/PA_CDECL_END Lennart Poettering 2006-02-20 04:05:59 +00:00
  • 304449002c 1) Add flexible seeking support (including absolute) for memory block queues and playback streams 2) Add support to synchronize multiple playback streams 3) add two tests for 1) and 2) 4) s/PA_ERROR/PA_ERR/ 5) s/PA_ERROR_OK/PA_OK/ 6) update simple API to deal properly with new peek/drop recording API 7) add beginnings of proper validity checking on API calls in client libs (needs to be extended) 8) report playback buffer overflows/underflows to the client 9) move client side recording mcalign stuff into the memblockq 10) create typedefs for a bunch of API callback prototypes 11) simplify handling of HUP poll() events Lennart Poettering 2006-02-20 04:05:16 +00:00
  • 0876b1ba82 update todo Lennart Poettering 2006-02-18 14:58:25 +00:00
  • b26df7e4a0 Properly clear members during init. Pierre Ossman 2006-02-17 17:00:33 +00:00
  • d142c12c60 That's a delta parameter, not a size parameter. Pierre Ossman 2006-02-17 16:48:44 +00:00
  • 45700da4eb Have a memblock queue on the client side during recording. This makes the record callback optional in stead of mandatory. Pierre Ossman 2006-02-17 15:42:47 +00:00
  • 6f9a367abc Ignore generated win32 binaries. Pierre Ossman 2006-02-17 13:20:09 +00:00
  • 162a95d566 Module needs stuff in libpolypcore. Pierre Ossman 2006-02-17 13:18:53 +00:00
  • 2686857b8c Fix path to poll.h. Pierre Ossman 2006-02-17 13:18:30 +00:00
  • c4cf7adaca Fix typo in #ifndef. Pierre Ossman 2006-02-17 13:11:37 +00:00
  • da665d5e61 Integrate error routines into libpolyp. Not much point in having this as a separate library. Pierre Ossman 2006-02-17 13:08:03 +00:00
  • 1eae42f7ed Make sure that all polypcore headers are installed. Pierre Ossman 2006-02-17 12:34:44 +00:00
  • 5eda18bf60 Cleaned up the includes after the restructuring. Indicate which headers are public and which are internal through <> vs "". Pierre Ossman 2006-02-17 12:10:58 +00:00
  • c278bc6c37 Move the util libs to the modules section since they're in that directory. Pierre Ossman 2006-02-17 09:12:06 +00:00
  • b9513089f5 fix doxygen Lennart Poettering 2006-02-17 00:11:54 +00:00
  • 2e0dcc4ff0 include header files in simple.h with <> instead of "" Lennart Poettering 2006-02-16 23:48:41 +00:00
  • 5ccf4145bc * rename polypcore/subscribe.[ch] to polypcore/core-subscribe.[ch] to avoid confusion with polyp/subscribe.[ch] * same for scache.[ch] Lennart Poettering 2006-02-16 23:13:27 +00:00
  • b4cb249d70 shorten include list of utils a little Lennart Poettering 2006-02-16 23:12:10 +00:00
  • 19b5b71feb * drop polylib prefix from #define * include error.h from polypaudio.h Lennart Poettering 2006-02-16 23:11:28 +00:00
  • 45b1eeec6b fix compilation of simple API Lennart Poettering 2006-02-16 23:10:33 +00:00
  • 22c8cebb85 drop polyplib- prefix from client library files Lennart Poettering 2006-02-16 22:43:59 +00:00
  • f49b09df15 make channel naming somewhat RFC2551 compliant Lennart Poettering 2006-02-16 22:34:52 +00:00
  • 4ad2926eba add a bunch of simple Makefile in the subdirs, just to make compilation with emacs easier Lennart Poettering 2006-02-16 22:11:35 +00:00
  • c75972f54a move alsa-util.[ch], oss-util.[ch] and howl-wrap.[ch] to the modules directory since they are just helper source used exclusively by the modules Lennart Poettering 2006-02-16 22:08:06 +00:00
  • b56b9e50e0 * svn:ignore some files * move configuration files to the directories they belong to * built esd-compat.sh in the src/ dir Lennart Poettering 2006-02-16 21:37:20 +00:00
  • e205b25d65 Reorganised the source tree. We now have src/ with a couple of subdirs: Pierre Ossman 2006-02-16 19:19:58 +00:00
  • 5b881e6228 add simple hardware auto detection module Lennart Poettering 2006-02-16 01:17:30 +00:00
  • 6ad876efa8 Add HAVE_ALSA and HAVE_OSS defines Lennart Poettering 2006-02-16 01:16:39 +00:00
  • 61fbafcb94 allow polypaudio to startup without any enabled module Lennart Poettering 2006-02-16 01:16:02 +00:00
  • a9950d4ab2 print ALSA error messages on failure Lennart Poettering 2006-02-16 01:15:31 +00:00
  • cc3fe432af fix warning text Lennart Poettering 2006-02-16 01:14:51 +00:00
  • 22e1f408a2 todo update Lennart Poettering 2006-02-15 23:44:04 +00:00
  • 0f0fc32a6e Fix api. Setting volume is done through a pa_cvolume struct, not a pa_volume_t scalar. Pierre Ossman 2006-02-14 13:41:30 +00:00
  • f77d5e14dc Add function to "wake up", i.e. interrupt, a running poll(). This is needed when having the poll() in a separate thread. Pierre Ossman 2006-02-13 13:37:22 +00:00
  • bbaf1543bd Split mainloop_iterate() into three, distinct parts. Allows for more flexible use, like having the poll() run in a separate thread. Pierre Ossman 2006-02-13 13:28:45 +00:00
  • 4ab432a819 Fix some new alignment bugs in the tagstruct handling. Pierre Ossman 2006-02-10 12:05:33 +00:00
  • 8d91ffe4b4 Install the new headers for channels and volume. Pierre Ossman 2006-02-10 08:44:42 +00:00
  • d9bfd5b294 Let's have just one endian conversion macro suite. Pierre Ossman 2006-02-03 14:39:39 +00:00
  • 5c01c1029f Fix endian conversion macros and reformat them to be a bit more readable. Pierre Ossman 2006-02-03 14:36:19 +00:00
  • d431e0094b Use defines and not hard coded values for volume levels. Caused incorrect volume levels for all esound clients that changed the volume. Pierre Ossman 2006-02-03 13:33:21 +00:00
  • bbc6dd68e2 Volume adjustment must be done _after_ dropping the chunk since drop will reject a modified chunk. Pierre Ossman 2006-02-03 12:23:17 +00:00
  • c34f35a797 Reverting an incorrect checkin. Pierre Ossman 2006-02-03 09:14:30 +00:00
  • dd7b38024a Fixes for the new infrastructure so that the waveout module compiles. Pierre Ossman 2006-01-30 12:58:53 +00:00
  • 7da06d3fe7 Fixes for the new infrastructure so that the solaris module compiles. Pierre Ossman 2006-01-30 12:21:53 +00:00
  • 22db575adc Breaks missing from conversion to a switch statement. Pierre Ossman 2006-01-30 11:49:03 +00:00
  • f8808a2525 Print an error message before aborting. Pierre Ossman 2006-01-30 11:38:20 +00:00
  • db6dc13e68 * add variadic function pa_tagstruct_get() and pa_tagstruct_put() for parsing/constructing tagstruct records * convert some of the tagstruct uses to this new API Lennart Poettering 2006-01-28 01:07:09 +00:00
  • 8580967062 add support more for up to 16 auxiliary channel positions Lennart Poettering 2006-01-27 16:30:09 +00:00
  • dd10c98241 Mega patch: Lennart Poettering 2006-01-27 16:25:31 +00:00
  • 759721cbbc Remove the version number from the module directory. Makes life easier for any external projects that need to use that directory. Pierre Ossman 2006-01-27 14:52:17 +00:00
  • 917d8765c6 We get the -lcap through LIBS, so no need for CAP_LIBS. Pierre Ossman 2006-01-25 17:27:10 +00:00
  • 104797b5a0 Use AC_SEARCH_LIBS instead of AC_CHECK_LIBS since it is a lot smarter and doesn't add unnecessary libs. Pierre Ossman 2006-01-25 17:25:28 +00:00
  • 30bb5ceaee Fix so that peer name can be determined on Windows. We do not support console on Windows at this time so we do not have to worry about that right now. Pierre Ossman 2006-01-20 10:16:37 +00:00
  • 60dbf8b82d Open the device in non-blocking mode. Pierre Ossman 2006-01-19 10:26:06 +00:00
  • 0ca9a0ea09 Ugly hack to get around Solaris particularly brain dead sound system. The system has a buffer size of 0.5 MB which cannot be changed. We emulate a smaller buffer through some SIGPOLL trickery. Pierre Ossman 2006-01-19 10:24:49 +00:00
  • 719c3773d4 We need a logical, not an arithmetic shift here. So use unsigned types when doing the shifting. Pierre Ossman 2006-01-16 13:35:25 +00:00
  • 262c60fcaa Under win32 we freed the wrong pointer causing a segmentation fault. Pierre Ossman 2006-01-12 17:12:44 +00:00
  • cb2a7ed028 Some crappy hardware generate noise on the output when reading input. To avoid triggering this needlesly we tweak the algorithm a bit to avoid reading when nothing is connected to the source. Pierre Ossman 2006-01-12 16:11:54 +00:00
  • 289c914b47 Some drivers (via82xx) doesn't start recording until we read something. This is ugly, but unfortunately required. Pierre Ossman 2006-01-12 16:09:58 +00:00
  • fc93e4b3a7 Used 0 as an invalid fd. Changed to -1. Pierre Ossman 2006-01-12 16:08:14 +00:00
  • f61be8b654 If the card couldn't do duplex when required we would incorrectly return success from this function with a closed fd. Pierre Ossman 2006-01-12 16:04:21 +00:00
  • 72316ccf9c Many (FSF and Sun at least) have interpreted the C99 standard in a way that int64_t and similar types are only defined on 64 bit platforms. Using -std=gnu99 lifts this rather silly restriction. Pierre Ossman 2006-01-11 14:36:02 +00:00
  • 2623edcc42 Remove the old compiler flag test now that we have a new shiny one. Pierre Ossman 2006-01-11 14:13:28 +00:00
  • 70ac72ee7f Our makefiles work just fine on older automakes (1.7 tested). Let's keep this out until we run into something that doesn't work. Pierre Ossman 2006-01-11 14:12:38 +00:00
  • 1f0961368f * remove a lot of compiler warnings introduced by using some new GCC flags * add typedefs for public structs and enums and drop the struct/enum prefixs from all uses where it makes sense Lennart Poettering 2006-01-11 01:17:39 +00:00
  • 6c512fb5a3 build system updates, including support for some newer GCC options Lennart Poettering 2006-01-10 18:04:54 +00:00
  • f7a99e9047 Merge Pierre's changes Lennart Poettering 2006-01-10 17:51:06 +00:00
  • 34e81ffb35 Handle Windows paths when normalizing authkey path. Pierre Ossman 2006-01-10 16:56:59 +00:00
  • 29118f50cb Make sure the caps header check can also be disabled. Pierre Ossman 2006-01-10 13:19:03 +00:00
  • 1015ea4241 Store previous reported time in order to assure a monotonic clock. Pierre Ossman 2006-01-10 12:45:11 +00:00
  • d429222476 Accidental use of a swapped int. Pierre Ossman 2006-01-10 12:37:41 +00:00
  • 11c6cac324 buf is needed on Windows aswell. Pierre Ossman 2006-01-10 09:16:39 +00:00
  • abdf9b1c3f Add needed error code. Pierre Ossman 2006-01-10 09:16:20 +00:00
  • 0a9abdd9d1 Unfortunately Windows has two different values for EBADF depending on if it's a file or a socket. We'll have to deal with these as they show up. Pierre Ossman 2006-01-10 09:15:56 +00:00
  • ba06340ab8 Add some required headers. Pierre Ossman 2006-01-10 09:15:13 +00:00
  • 357ab88ab5 Make sure socklen_t is defined. Pierre Ossman 2006-01-10 09:14:41 +00:00
  • 5e5808ab08 Static libs bork the creation of dlls and AC_CHECK_LIB isn't very bright, so we have to do a test first to see if getopt_long() is included in the system libs. Pierre Ossman 2006-01-10 09:13:48 +00:00
  • ff4cc6273d Move library checks to a separate section and make sure it's before function checks. It could miss functions because they are hidden in extra libs otherwise. Pierre Ossman 2006-01-10 08:35:14 +00:00
  • f5a2cf1e86 getopt_long resides in libiberty on many platforms. Pierre Ossman 2006-01-10 07:50:50 +00:00
  • 76bc56cf3b Put inet_ntop() emulation in a seperate file. Pierre Ossman 2006-01-09 17:14:30 +00:00
  • d3cb1448b4 Update comment for pa_lock_fd() to reflect that locks are mandatory on Windows. Pierre Ossman 2006-01-09 16:59:12 +00:00