~ubuntu-branches/ubuntu/utopic/openal-soft/utopic

« back to all changes in this revision

Viewing changes to Alc/backends/loopback.c

  • Committer: Package Import Robot
  • Author(s): Bret Curtis
  • Date: 2014-07-23 08:36:25 UTC
  • mfrom: (7.1.13 sid)
  • Revision ID: package-import@ubuntu.com-20140723083625-cr2djlejnasumot2
Tags: 1:1.15.1-2
Updated debian/copyright. (Closes: 755793)

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
#include "config.h"
22
22
 
23
23
#include <stdlib.h>
 
24
 
24
25
#include "alMain.h"
25
 
#include "AL/al.h"
26
 
#include "AL/alc.h"
 
26
#include "alu.h"
27
27
 
28
28
 
29
29
static ALCenum loopback_open_playback(ALCdevice *device, const ALCchar *deviceName)
30
30
{
31
 
    device->szDeviceName = strdup(deviceName);
 
31
    device->DeviceName = strdup(deviceName);
32
32
    return ALC_NO_ERROR;
33
33
}
34
34
 
54
54
    (void)device;
55
55
}
56
56
 
 
57
 
57
58
static const BackendFuncs loopback_funcs = {
58
59
    loopback_open_playback,
59
60
    loopback_close_playback,
65
66
    NULL,
66
67
    NULL,
67
68
    NULL,
68
 
    NULL
 
69
    NULL,
 
70
    ALCdevice_LockDefault,
 
71
    ALCdevice_UnlockDefault,
 
72
    ALCdevice_GetLatencyDefault
69
73
};
70
74
 
71
75
ALCboolean alc_loopback_init(BackendFuncs *func_list)