summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add function to "wake up", i.e. interrupt, a running poll(). This is neededPierre Ossman2006-02-132-1/+71
| | | | | | | when having the poll() in a separate thread. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@479 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Split mainloop_iterate() into three, distinct parts. Allows for more flexiblePierre Ossman2006-02-132-49/+133
| | | | | | | use, like having the poll() run in a separate thread. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@478 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Fix some new alignment bugs in the tagstruct handling.Pierre Ossman2006-02-101-3/+8
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@477 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Install the new headers for channels and volume.Pierre Ossman2006-02-101-1/+3
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@476 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Let's have just one endian conversion macro suite.Pierre Ossman2006-02-033-32/+31
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@475 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Fix endian conversion macros and reformat them to be a bit more readable.Pierre Ossman2006-02-031-4/+4
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@474 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Use defines and not hard coded values for volume levels. Caused incorrectPierre Ossman2006-02-031-7/+7
| | | | | | | volume levels for all esound clients that changed the volume. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@473 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Volume adjustment must be done _after_ dropping the chunk since drop willPierre Ossman2006-02-031-6/+6
| | | | | | | reject a modified chunk. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@472 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Reverting an incorrect checkin.Pierre Ossman2006-02-031-2/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@471 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Fixes for the new infrastructure so that the waveout module compiles.Pierre Ossman2006-01-301-4/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@470 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Fixes for the new infrastructure so that the solaris module compiles.Pierre Ossman2006-01-301-4/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@469 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Breaks missing from conversion to a switch statement.Pierre Ossman2006-01-301-0/+3
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@468 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Print an error message before aborting.Pierre Ossman2006-01-301-0/+3
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@467 fefdeb5f-60dc-0310-8127-8f9354f1896f
* * add variadic function pa_tagstruct_get() and pa_tagstruct_put() for ↵Lennart Poettering2006-01-285-84/+247
| | | | | | | | | parsing/constructing tagstruct records * convert some of the tagstruct uses to this new API git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@466 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add support more for up to 16 auxiliary channel positionsLennart Poettering2006-01-271-0/+4
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@464 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Mega patch:Lennart Poettering2006-01-27114-1294/+2549
| | | | | | | | | | | | * implement inner loops using liboil * drop "typeid" stuff * add support for channel maps * add support for seperate volumes per channel * add support for hardware mixer settings (only module-oss implements this for now) * fix a lot of types for _t suffix git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@463 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Remove the version number from the module directory. Makes life easierPierre Ossman2006-01-271-1/+1
| | | | | | | for any external projects that need to use that directory. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@462 fefdeb5f-60dc-0310-8127-8f9354f1896f
* We get the -lcap through LIBS, so no need for CAP_LIBS.Pierre Ossman2006-01-252-3/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@461 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Use AC_SEARCH_LIBS instead of AC_CHECK_LIBS since it is a lot smarter andPierre Ossman2006-01-251-4/+4
| | | | | | | doesn't add unnecessary libs. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@460 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Fix so that peer name can be determined on Windows. We do not support consolePierre Ossman2006-01-201-0/+8
| | | | | | | on Windows at this time so we do not have to worry about that right now. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@459 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Open the device in non-blocking mode.Pierre Ossman2006-01-191-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@458 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Ugly hack to get around Solaris particularly brain dead sound system.Pierre Ossman2006-01-191-3/+55
| | | | | | | | The system has a buffer size of 0.5 MB which cannot be changed. We emulate a smaller buffer through some SIGPOLL trickery. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@457 fefdeb5f-60dc-0310-8127-8f9354f1896f
* We need a logical, not an arithmetic shift here. So use unsigned types whenPierre Ossman2006-01-161-2/+2
| | | | | | | doing the shifting. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@456 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Under win32 we freed the wrong pointer causing a segmentation fault.Pierre Ossman2006-01-121-4/+4
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@455 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Some crappy hardware generate noise on the output when reading input. ToPierre Ossman2006-01-121-1/+8
| | | | | | | | avoid triggering this needlesly we tweak the algorithm a bit to avoid reading when nothing is connected to the source. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@454 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Some drivers (via82xx) doesn't start recording until we read something.Pierre Ossman2006-01-121-0/+9
| | | | | | | This is ugly, but unfortunately required. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@453 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Used 0 as an invalid fd. Changed to -1.Pierre Ossman2006-01-121-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@452 fefdeb5f-60dc-0310-8127-8f9354f1896f
* If the card couldn't do duplex when required we would incorrectly returnPierre Ossman2006-01-121-2/+2
| | | | | | | success from this function with a closed fd. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@451 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Many (FSF and Sun at least) have interpreted the C99 standard in a wayPierre Ossman2006-01-111-23/+3
| | | | | | | | | | | that int64_t and similar types are only defined on 64 bit platforms. Using -std=gnu99 lifts this rather silly restriction. The HAVE_NETLINK define is not generated anywhere in our configure. So it was rather pointless to use it for any test. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@450 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Remove the old compiler flag test now that we have a new shiny one.Pierre Ossman2006-01-111-10/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@449 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Our makefiles work just fine on older automakes (1.7 tested). Let's keepPierre Ossman2006-01-111-1/+1
| | | | | | | this out until we run into something that doesn't work. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@448 fefdeb5f-60dc-0310-8127-8f9354f1896f
* * remove a lot of compiler warnings introduced by using some new GCC flagsLennart Poettering2006-01-11200-3460/+3574
| | | | | | | * add typedefs for public structs and enums and drop the struct/enum prefixs from all uses where it makes sense git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@447 fefdeb5f-60dc-0310-8127-8f9354f1896f
* build system updates, including support for some newer GCC optionsLennart Poettering2006-01-102-11/+90
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@446 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Merge Pierre's changesLennart Poettering2006-01-1065-854/+3590
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@445 fefdeb5f-60dc-0310-8127-8f9354f1896f
* improve sync clock changeLennart Poettering2006-01-091-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@426 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix synchronized clock changeLennart Poettering2006-01-091-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@425 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix alsa memory leakLennart Poettering2005-09-162-0/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@360 fefdeb5f-60dc-0310-8127-8f9354f1896f
* chance ALSA sink to use "default" as default alsa deviceLennart Poettering2005-09-161-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@359 fefdeb5f-60dc-0310-8127-8f9354f1896f
* initialize running_as_daemon Lennart Poettering2005-09-161-0/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@358 fefdeb5f-60dc-0310-8127-8f9354f1896f
* increase number of allowed connectionsLennart Poettering2005-09-161-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@357 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add new field running_as_daemon to pa_coreLennart Poettering2005-09-163-3/+12
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@356 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add pa_sound_file_too_big_to_cache()Lennart Poettering2005-09-162-1/+38
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@355 fefdeb5f-60dc-0310-8127-8f9354f1896f
* handle float values in sound files sensiblyLennart Poettering2005-09-161-9/+8
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@354 fefdeb5f-60dc-0310-8127-8f9354f1896f
* print a nice message when libltdl is missingLennart Poettering2005-09-161-0/+8
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@353 fefdeb5f-60dc-0310-8127-8f9354f1896f
* git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@352 ↵Lennart Poettering2005-09-161-0/+1
| | | | fefdeb5f-60dc-0310-8127-8f9354f1896f
* build fixLennart Poettering2005-09-161-0/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@351 fefdeb5f-60dc-0310-8127-8f9354f1896f
* bail out if no sink is definedLennart Poettering2005-09-161-4/+10
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@350 fefdeb5f-60dc-0310-8127-8f9354f1896f
* alter alsa periods numberLennart Poettering2005-09-151-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@349 fefdeb5f-60dc-0310-8127-8f9354f1896f
* handle EOF in ioline.cLennart Poettering2005-09-151-2/+10
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@348 fefdeb5f-60dc-0310-8127-8f9354f1896f
* remove esound protocol directory on unload of module-protocol-esoundLennart Poettering2005-09-151-0/+7
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@347 fefdeb5f-60dc-0310-8127-8f9354f1896f