aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/solaris.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-04-19 23:00:58 -0700
committerChris Robinson <[email protected]>2012-04-19 23:00:58 -0700
commit54185196373d04b49a1e4e778b433ab906a6d5bd (patch)
tree40c3a5e426dc703e70e4bf39c4e1d96699d35cc3 /Alc/backends/solaris.c
parentb023dbe7b87921a5b4eab0ed759e7b3dd04acf57 (diff)
Remove some more hungarian notation
Diffstat (limited to 'Alc/backends/solaris.c')
-rw-r--r--Alc/backends/solaris.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/Alc/backends/solaris.c b/Alc/backends/solaris.c
index 2eb5776f..7f456609 100644
--- a/Alc/backends/solaris.c
+++ b/Alc/backends/solaris.c
@@ -53,21 +53,21 @@ typedef struct {
static ALuint SolarisProc(ALvoid *ptr)
{
- ALCdevice *pDevice = (ALCdevice*)ptr;
- solaris_data *data = (solaris_data*)pDevice->ExtraData;
+ ALCdevice *Device = (ALCdevice*)ptr;
+ solaris_data *data = (solaris_data*)Device->ExtraData;
ALint frameSize;
int wrote;
SetRTPriority();
- frameSize = FrameSizeFromDevFmt(pDevice->FmtChans, pDevice->FmtType);
+ frameSize = FrameSizeFromDevFmt(Device->FmtChans, Device->FmtType);
- while(!data->killNow && pDevice->Connected)
+ while(!data->killNow && Device->Connected)
{
ALint len = data->data_size;
ALubyte *WritePtr = data->mix_data;
- aluMixData(pDevice, WritePtr, len/frameSize);
+ aluMixData(Device, WritePtr, len/frameSize);
while(len > 0 && !data->killNow)
{
wrote = write(data->fd, WritePtr, len);
@@ -76,7 +76,7 @@ static ALuint SolarisProc(ALvoid *ptr)
if(errno != EAGAIN && errno != EWOULDBLOCK && errno != EINTR)
{
ERR("write failed: %s\n", strerror(errno));
- aluHandleDisconnect(pDevice);
+ aluHandleDisconnect(Device);
break;
}