Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
miniaudio
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
miniaudio
Commits
7696ce1f
Commit
7696ce1f
authored
Apr 19, 2019
by
David Reid
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tabs to space.
parent
daf6af39
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
16 deletions
+16
-16
miniaudio.h
miniaudio.h
+16
-16
No files found.
miniaudio.h
View file @
7696ce1f
...
@@ -18278,13 +18278,13 @@ ma_result ma_context_init__coreaudio(const ma_context_config* pConfig, ma_contex
...
@@ -18278,13 +18278,13 @@ ma_result ma_context_init__coreaudio(const ma_context_config* pConfig, ma_contex
//#include <sys/soundcard.h>
//#include <sys/soundcard.h>
//#endif
//#endif
#define MA_SIO_DEVANY
"default"
#define MA_SIO_DEVANY
"default"
#define MA_SIO_PLAY
1
#define MA_SIO_PLAY
1
#define MA_SIO_REC
2
#define MA_SIO_REC
2
#define MA_SIO_NENC
8
#define MA_SIO_NENC
8
#define MA_SIO_NCHAN
8
#define MA_SIO_NCHAN
8
#define MA_SIO_NRATE
16
#define MA_SIO_NRATE
16
#define MA_SIO_NCONF
4
#define MA_SIO_NCONF
4
struct ma_sio_hdl; // <-- Opaque
struct ma_sio_hdl; // <-- Opaque
...
@@ -18326,12 +18326,12 @@ struct ma_sio_conf
...
@@ -18326,12 +18326,12 @@ struct ma_sio_conf
struct ma_sio_cap
struct ma_sio_cap
{
{
struct ma_sio_enc enc[MA_SIO_NENC];
struct ma_sio_enc enc[MA_SIO_NENC];
unsigned int rchan[MA_SIO_NCHAN];
unsigned int rchan[MA_SIO_NCHAN];
unsigned int pchan[MA_SIO_NCHAN];
unsigned int pchan[MA_SIO_NCHAN];
unsigned int rate[MA_SIO_NRATE];
unsigned int rate[MA_SIO_NRATE];
int __pad[7];
int __pad[7];
unsigned int nconf;
unsigned int nconf;
struct ma_sio_conf confs[MA_SIO_NCONF];
struct ma_sio_conf confs[MA_SIO_NCONF];
};
};
typedef struct ma_sio_hdl* (* ma_sio_open_proc) (const char*, unsigned int, int);
typedef struct ma_sio_hdl* (* ma_sio_open_proc) (const char*, unsigned int, int);
...
@@ -18865,7 +18865,7 @@ ma_result ma_device_init_handle__sndio(ma_context* pContext, const ma_device_con
...
@@ -18865,7 +18865,7 @@ ma_result ma_device_init_handle__sndio(ma_context* pContext, const ma_device_con
internalBufferSizeInFrames = par.appbufsz;
internalBufferSizeInFrames = par.appbufsz;
if (deviceType == ma_device_type_capture) {
if (deviceType == ma_device_type_capture) {
pDevice->sndio.handleCapture = handle;
pDevice->sndio.handleCapture = handle;
pDevice->capture.internalFormat = internalFormat;
pDevice->capture.internalFormat = internalFormat;
pDevice->capture.internalChannels = internalChannels;
pDevice->capture.internalChannels = internalChannels;
pDevice->capture.internalSampleRate = internalSampleRate;
pDevice->capture.internalSampleRate = internalSampleRate;
...
@@ -18873,7 +18873,7 @@ ma_result ma_device_init_handle__sndio(ma_context* pContext, const ma_device_con
...
@@ -18873,7 +18873,7 @@ ma_result ma_device_init_handle__sndio(ma_context* pContext, const ma_device_con
pDevice->capture.internalBufferSizeInFrames = internalBufferSizeInFrames;
pDevice->capture.internalBufferSizeInFrames = internalBufferSizeInFrames;
pDevice->capture.internalPeriods = internalPeriods;
pDevice->capture.internalPeriods = internalPeriods;
} else {
} else {
pDevice->sndio.handlePlayback = handle;
pDevice->sndio.handlePlayback = handle;
pDevice->playback.internalFormat = internalFormat;
pDevice->playback.internalFormat = internalFormat;
pDevice->playback.internalChannels = internalChannels;
pDevice->playback.internalChannels = internalChannels;
pDevice->playback.internalSampleRate = internalSampleRate;
pDevice->playback.internalSampleRate = internalSampleRate;
...
@@ -19402,7 +19402,7 @@ ma_result ma_device_init_fd__audio4(ma_context* pContext, const ma_device_config
...
@@ -19402,7 +19402,7 @@ ma_result ma_device_init_fd__audio4(ma_context* pContext, const ma_device_config
{
{
const char* pDefaultDeviceNames[] = {
const char* pDefaultDeviceNames[] = {
"/dev/audio",
"/dev/audio",
"/dev/audio0"
"/dev/audio0"
};
};
int fd;
int fd;
int fdFlags = 0;
int fdFlags = 0;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment