4 |
* * |
* * |
5 |
* Copyright (C) 2009 Grigor Iliev * |
* Copyright (C) 2009 Grigor Iliev * |
6 |
* Copyright (C) 2011-2013 Andreas Persson * |
* Copyright (C) 2011-2013 Andreas Persson * |
7 |
* Copyright (C) 2014-2016 Christian Schoenebeck * |
* Copyright (C) 2014-2017 Christian Schoenebeck * |
8 |
* * |
* * |
9 |
* This program is free software; you can redistribute it and/or modify * |
* This program is free software; you can redistribute it and/or modify * |
10 |
* it under the terms of the GNU General Public License as published by * |
* it under the terms of the GNU General Public License as published by * |
144 |
} |
} |
145 |
|
|
146 |
AudioOutputDeviceCoreAudio::~AudioOutputDeviceCoreAudio() { |
AudioOutputDeviceCoreAudio::~AudioOutputDeviceCoreAudio() { |
147 |
|
StopThread(); |
148 |
|
|
149 |
atomic_set(&(aqPlayerState.mIsRunning), 0); |
atomic_set(&(aqPlayerState.mIsRunning), 0); |
150 |
{ |
{ |
151 |
LockGuard lock(destroyMutex); |
LockGuard lock(destroyMutex); |