Age | Commit message (Collapse) | Author |
|
|
|
|
|
Adjust translations for the spacing changes etc. which this introduces.
|
|
If needed, use calloc() to allocate the area so that it's already
reset by the time it returns.
|
|
Using asprintf() instead of malloc() + sprintf() reduces the lines of
code in xine-lib (moving the allocation to the C library or asprintf
replacement), makes it safer to access the string and can also improve
performance whenever the value returned by a function was used as
parameter, as before it had to run the function twice in almost every
case (once for strlen(), once for sprintf()).
|
|
The xine_xmalloc() function is going to be deprecated, as its
behaviour is rarely needed as such, and it's thus misused.
With this, almost all uses of xine_xmalloc() with static size (for
instance the value returned by sizeof()) or with a size that is
guaranteed not to be zero (like strlen()+1) are replaced with calls to
either calloc(1, ...) or malloc().
malloc() is used whenever the allocated memory is going to be
immediately overwritten, while calloc() is used in every other case,
as it sets the whole memory area to zero.
--HG--
extra : transplant_source : %8F%98%EC%02%1E%83%F0s%06X%83C%205Y%80%B12%CC%E1
|
|
(Fall back on SNDCTL_DSP_GETOPTR.)
|
|
--HG--
extra : transplant_source : %E0%D0%C5%8B%BEU%DD%24%5D7%1F%ADV%AD%EB%23%CBU%80%EB
|
|
For contributed code, leave whatever the version we last synced for is using
to make simpler future syncs.
|
|
headers, and then include the best one that has been found on the system. Check for definition of SNDCTL_DSP_SETFRAGMENT in those headers. Check for the correct request parameter type for ioctl(), as also modern Linux uses unsigned long. Don't list all the big endian machines (as they aren't reliable to list anyway, some of them might work with both endians), use WORDS_BIGENDIAN instead.
CVS patchset: 8697
CVS date: 2007/03/17 06:59:31
|
|
long rather than int). This patch is less invasive and portable.
CVS patchset: 8676
CVS date: 2007/03/16 17:13:57
|
|
Albert Lee.
CVS patchset: 8651
CVS date: 2007/03/09 23:56:42
|
|
Also use asprintf() where appropriate, since we now have our own version for
where it's not present.
CVS patchset: 8130
CVS date: 2006/07/16 16:18:09
|
|
(through backports), to avoid exporting unneeded internal symbols, making plugins' loading faster and use of internal copies of libraries more solid. It should automatically fall back to the old way in GCCs that does not support -fvisibility=hidden, but has to be tested carefully. No issues were found in the months of testing in Gentoo, but this requires special attention anyway.
CVS patchset: 8101
CVS date: 2006/07/10 22:08:12
|
|
CVS patchset: 8009
CVS date: 2006/06/02 22:18:56
|
|
(Diego Pettenò)
CVS patchset: 7985
CVS date: 2006/05/03 19:46:06
|
|
and backwards compatible translation
Sorry, I got a litte tired proof-reading the patch, so their might be
bugs lurking around. I will give it some further examination and
(as necessary) fixing tomorrow.
CVS patchset: 7233
CVS date: 2004/12/12 22:00:47
|
|
CVS patchset: 7149
CVS date: 2004/11/23 14:40:23
|
|
CVS patchset: 7087
CVS date: 2004/10/29 23:11:37
|
|
the DXR3's mixer device sometimes takes too long to open, this will keep the
dirver_lock in audio out loop occupied and thus stalls playback;
since xine-ui regularly polls the mixer setting, this results in rare but
annoying audio dropouts
CVS patchset: 7020
CVS date: 2004/10/08 20:32:03
|
|
1. for current systems, including this is a noop
2. it was used a some time ago to check for CONFIG_DEVFS_FS, but we do
not check for this any more, but autodetect devfs at runtime
and it is reported by John Nielsen to break builds on some systems
CVS patchset: 6633
CVS date: 2004/06/03 12:56:25
|
|
CVS patchset: 6494
CVS date: 2004/05/07 13:37:00
|
|
Only oss and alsa used the old multi channel config items.
CVS patchset: 6467
CVS date: 2004/04/30 12:57:47
|
|
CVS patchset: 6444
CVS date: 2004/04/26 18:01:06
|
|
CVS patchset: 6443
CVS date: 2004/04/26 17:57:08
|
|
CVS patchset: 6395
CVS date: 2004/04/11 15:27:19
|
|
* for alsa: do not register config entries multiple times just to get the value,
use lookup_entry()
* for directx: get rid of unused device_name
* for OSS: remove mixer config, derive mixer name from device name
CVS patchset: 6379
CVS date: 2004/04/10 14:53:42
|
|
CVS patchset: 6287
CVS date: 2004/03/18 09:07:00
|
|
CVS patchset: 6216
CVS date: 2004/03/04 16:06:02
|
|
CVS patchset: 5969
CVS date: 2004/01/01 15:55:24
|
|
endian audio samples
CVS patchset: 5964
CVS date: 2003/12/31 12:05:26
|
|
CVS patchset: 5912
CVS date: 2003/12/14 22:13:22
|
|
ioctl works (fixes playback of 8 bits sounds on i810 soundcards)
CVS patchset: 5904
CVS date: 2003/12/13 19:22:33
|
|
CVS patchset: 5857
CVS date: 2003/12/07 00:25:52
|
|
relevant too. Small other little fix (can't remember). Change few internal function prototype because it xine_t pointer need to be used if some xine's internal sections. NOTE: libdvd{nav,read} is still too noisy, i will take a look to made it quit, without invasive changes. To be continued...
CVS patchset: 5844
CVS date: 2003/12/05 15:54:56
|
|
scratch buffer enhancement (thanks Thibaut for the malloc tips), enlarge log buffer from 25 lines (very useless), to 150 (better).
CVS patchset: 5801
CVS date: 2003/11/26 23:44:08
|
|
CVS patchset: 5796
CVS date: 2003/11/26 19:43:26
|
|
Thanks to Daniel for the patch.
Bastien: please test
CVS patchset: 5542
CVS date: 2003/10/19 13:40:32
|
|
CVS patchset: 5455
CVS date: 2003/10/06 15:27:10
|
|
level
of this option
CVS patchset: 4999
CVS date: 2003/06/02 16:41:10
|
|
card incorrectly reports AFMT_AC3 as being absent.
In effect, this forces xine to send non-audio AC3 and DTS data to the sound card,
without ever knowing if the spdif is working or not.
Can cause horrible noise to come out of speakers, and might even damage speakers.
CVS patchset: 4995
CVS date: 2003/06/01 22:48:26
|
|
CVS patchset: 4495
CVS date: 2003/03/27 11:39:23
|
|
CVS patchset: 4345
CVS date: 2003/03/06 16:49:30
|
|
wrap handling not tested yet.
CVS patchset: 4117
CVS date: 2003/02/08 15:14:45
|
|
CVS patchset: 4077
CVS date: 2003/02/01 14:33:06
|
|
different sizeof than integer.
- add extra_info structure to pass informations from input/demuxers down
to the output frame. this can be used, for example, to pass the frame
number of a frame (when known by decoder). also, immediate benefict is
that we now have a slider which really shows the current position of
the playing stream. new fields can be added to extra_info keeping
binary compatibility
- bumpy everybody's api versions
CVS patchset: 3603
CVS date: 2002/12/21 12:56:44
|
|
CVS patchset: 3385
CVS date: 2002/11/28 08:03:23
|
|
* new public output interface xine_{audio,video}_port_t instead of
xine_{ao,vo}_driver_t, old names kept as aliases for compatibility
* modified the engine to allow multiple streams per output
* renaming of some internal structures according to public changes
* moving SCR out of per-stream-metronom into a global metronom_clock_t
residing in xine_t and therefore easily available to the output layer
* adapting all available plugins
(note to external projects: the compiler will help you a lot, if a plugin
compiles, it is adapted, because all changes add new parameters to some
functions)
* bump up all interface versions because of xine_t and xine_stream_t changes
CVS patchset: 3312
CVS date: 2002/11/20 11:57:38
|
|
capabilities correct
- after testing 8bit mode, switch back to 16bits, because some cards
might not report all their capabilities otherwise
(inspired by work of theo@kluter.net)
CVS patchset: 3270
CVS date: 2002/11/16 11:39:10
|
|
any more
CVS patchset: 3246
CVS date: 2002/11/12 00:32:29
|