summaryrefslogtreecommitdiffstats
path: root/tinyDAV/include/tinydav/audio/coreaudio/tdav_producer_audiounit.h
diff options
context:
space:
mode:
Diffstat (limited to 'tinyDAV/include/tinydav/audio/coreaudio/tdav_producer_audiounit.h')
-rwxr-xr-xtinyDAV/include/tinydav/audio/coreaudio/tdav_producer_audiounit.h37
1 files changed, 18 insertions, 19 deletions
diff --git a/tinyDAV/include/tinydav/audio/coreaudio/tdav_producer_audiounit.h b/tinyDAV/include/tinydav/audio/coreaudio/tdav_producer_audiounit.h
index c1a99cb..bcc44d7 100755
--- a/tinyDAV/include/tinydav/audio/coreaudio/tdav_producer_audiounit.h
+++ b/tinyDAV/include/tinydav/audio/coreaudio/tdav_producer_audiounit.h
@@ -2,19 +2,19 @@
* Copyright (C) 2010-2011 Mamadou Diop.
*
* Contact: Mamadou Diop <diopmamadou(at)doubango.org>
- *
+ *
* This file is part of Open Source Doubango Framework.
*
* DOUBANGO is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
- *
+ *
* DOUBANGO is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
+ *
* You should have received a copy of the GNU General Public License
* along with DOUBANGO.
*
@@ -35,23 +35,22 @@
TDAV_BEGIN_DECLS
-typedef struct tdav_producer_audiounit_s
-{
- TDAV_DECLARE_PRODUCER_AUDIO;
-
- tdav_audiounit_handle_t* audioUnitHandle;
- unsigned started:1;
- unsigned paused:1;
+typedef struct tdav_producer_audiounit_s {
+ TDAV_DECLARE_PRODUCER_AUDIO;
+
+ tdav_audiounit_handle_t* audioUnitHandle;
+ unsigned started:1;
+ unsigned paused:1;
unsigned muted;
-
- struct {
- struct {
- void* buffer;
- tsk_size_t size;
- } chunck;
- SpeexBuffer* buffer;
- tsk_size_t size;
- } ring;
+
+ struct {
+ struct {
+ void* buffer;
+ tsk_size_t size;
+ } chunck;
+ SpeexBuffer* buffer;
+ tsk_size_t size;
+ } ring;
}
tdav_producer_audiounit_t;
OpenPOWER on IntegriCloud