~ubuntu-branches/ubuntu/quantal/openal-soft/quantal

« back to all changes in this revision

Viewing changes to Alc/alcConfig.c

  • Committer: Bazaar Package Importer
  • Author(s): Scott Ritchie
  • Date: 2010-04-16 15:20:20 UTC
  • mfrom: (0.2.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20100416152020-7gbp12lzhugfr2n0
Tags: 1:1.12.854-0ubuntu1
* New upstream release (LP: #565071)
  - Fully backwards compatible
  - Fixed playback when the PulseAudio buffer is calculated to be more than 64KB.
  - Restored compatibility with some older PulseAudio libs.
  - Alternative buffer sizing for PulseAudio, specified using a new config option.
  - Improved buffer size calculations, to prevent drastic latency changes when certain properties (such as ALC_FREQUENCY) are modified.
  - "Not broken" unlike 1.11.753, according to upstream
* Should fix some remaining crackling issues (LP: #351732, #516435)
* Should be ok to sync over; no extra patches

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 */
20
20
 
21
21
#ifdef _WIN32
 
22
#ifdef __MINGW64__
 
23
#define _WIN32_IE 0x501
 
24
#else
22
25
#define _WIN32_IE 0x400
23
26
#endif
 
27
#endif
24
28
 
25
29
#include "config.h"
26
30
 
211
215
#ifdef _WIN32
212
216
    if(SHGetSpecialFolderPathA(NULL, buffer, CSIDL_APPDATA, FALSE) != FALSE)
213
217
    {
214
 
        int p = strlen(buffer);
 
218
        size_t p = strlen(buffer);
215
219
        snprintf(buffer+p, sizeof(buffer)-p, "\\alsoft.ini");
216
220
        f = fopen(buffer, "rt");
217
221
        if(f)