Commit Graph

28 Commits (b9e7c3490f8b48af99d71ba36540f1f63ce80c3f)

Author SHA1 Message Date
Michael Stefaniuc 4bd87b9d7e wineesd.drv: Add the missing calls to ESD_WaveClose/ESD_WaveInit. 2010-04-22 11:40:08 +02:00
Maarten Lankhorst 3c640ddacd wineesd.drv: Clean up loading. 2010-04-21 16:15:35 +02:00
Francois Gouget f6c7e48af1 wineesd.drv: Remove a redundant assignment. 2009-06-17 12:04:29 +02:00
Francois Gouget 45311c6724 winweesd.drv: Make sure esd_all_info is always initialized and freed when needed. 2009-06-17 12:04:25 +02:00
Francois Gouget f7faba2309 wineesd.drv: Initialize the stream name before using it. 2009-06-17 12:04:14 +02:00
Francois Gouget 5ef481922f Assorted spelling fixes. 2009-04-20 15:25:26 +02:00
Francois Gouget 8e18524ad3 wineesd.drv: Add a trailing '\n' to a WARN() trace. 2009-04-20 15:25:16 +02:00
Francois Gouget 14d2c98834 wineesd.drv: Improve the accuracy of wodUpdatePlayedTotal().
We do so by querying the EsounD latency and estimating dwPlayedTotal based on the elapsed time since the last write.
This benefits the accuracy of the completion notifications and of wodGetPosition().
2009-03-30 14:24:32 +02:00
Francois Gouget 623586433a wineesd.drv: Simplify wodPlayer_WriteMaxFrags() and wodPlayer_FeedDSP().
We don't know how much free space we have in the EsounD buffer, so
just write until it is full. Sleep for a fraction of the time it will
take for the buffer to drain so we can refill it in time.
2009-03-30 14:24:08 +02:00
Francois Gouget 9e31d23e73 wineesd.drv: Let the EsounD server adjust the volume.
This simplifies our code and avoids data copying.
Also, now wodGetVolume() returns the real EsounD volume, even if it has been modified by an external mixer (e.g. esdctl).
2009-03-30 14:23:56 +02:00
Francois Gouget 45a5968358 wineesd.drv: Build a unique name so we can identify our stream.
Put the windows application name in it to make it user friendly as it is displayed by EsounD mixers.
2009-03-30 14:23:52 +02:00
Francois Gouget d1a7136b6f wineesd.drv: Rename esd_fd to stream_fd.
It is used to send/receive stream data, not to send RPCs to the sound server as esd_fd would imply.
This is a no-op.
2009-03-30 14:22:53 +02:00
Francois Gouget 91d42b37ef wineesd.drv: Move the wodDsXxx() functions around to avoid forward declarations. 2009-03-30 14:22:42 +02:00
Francois Gouget e7c5759af1 wineesd.drv: Remove some unused WINE_WAVExxx fields. 2009-03-30 14:22:30 +02:00
Francois Gouget 8e3a907727 wineesd.drv: Fix a trace and remove an unneeded cast. 2009-03-30 14:22:21 +02:00
Francois Gouget 1192c9995c wineesd.drv: Remove esd_host as it is unused.
It is unlikely to ever be used too. The default behavior is to connect 
to the server specified by $ESPEAKER or to the local one which suits us 
just fine.
2009-03-25 11:09:42 +01:00
Michael Stefaniuc bcd00b4362 wineesd.drv: dwParam1 and dwParam2 have the type DWORD_PTR. 2009-02-11 12:29:50 +01:00
Michael Stefaniuc 2486357f34 wineesd.drv: Remove superfluous pointer casts. 2009-02-10 12:34:53 +01:00
Michael Stefaniuc 0b872e65b2 wineesd.drv: Add missing return in function returning non-void.
Return value is analog to what the ALSA and OSS driver are doing.
2009-01-28 12:11:01 +01:00
Alexandre Julliard ec1b28edb0 include: Fix a number of mmsystem.h structure for Win64. 2009-01-09 18:08:29 +01:00
Francois Gouget d27396980f wineesd.drv: Make some functions static. 2008-12-15 12:25:20 +01:00
Erik Inge Bolsø e4a0e0cc3f wineesd.drv: Allow all errors to interrupt recording. 2008-09-12 11:46:14 +02:00
Andrew Talbot 52f6018c73 wineesd.drv: Assign to structs instead of using memcpy. 2008-03-26 23:48:18 +01:00
Francois Gouget 44b52b128c Assorted spelling fixes. 2008-01-16 12:48:29 +01:00
Austin English 65569206b2 Spelling fixes. 2008-01-10 12:16:31 +01:00
Stefan Huehner 4d1d01f266 Mark several functions as static. 2007-03-13 13:35:12 +01:00
Jan Zerebecki 6c9acb67bc wineesd.drv: Add DebugInfo to critical sections. 2007-03-12 13:40:33 +01:00
Alexandre Julliard 851e6d7c4f wineesd: Renamed the dlls/winmm/wineesd directory to dlls/wineesd.drv. 2007-01-10 13:44:20 +01:00