2001-04-26 16:45:43 +00:00
|
|
|
/*
|
|
|
|
SDL - Simple DirectMedia Layer
|
2006-02-01 06:32:25 +00:00
|
|
|
Copyright (C) 1997-2006 Sam Lantinga
|
2001-04-26 16:45:43 +00:00
|
|
|
|
|
|
|
This library is free software; you can redistribute it and/or
|
2006-02-01 06:32:25 +00:00
|
|
|
modify it under the terms of the GNU Lesser General Public
|
2001-04-26 16:45:43 +00:00
|
|
|
License as published by the Free Software Foundation; either
|
2006-02-01 06:32:25 +00:00
|
|
|
version 2.1 of the License, or (at your option) any later version.
|
2001-04-26 16:45:43 +00:00
|
|
|
|
|
|
|
This library 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
|
2006-02-01 06:32:25 +00:00
|
|
|
Lesser General Public License for more details.
|
2001-04-26 16:45:43 +00:00
|
|
|
|
2006-02-01 06:32:25 +00:00
|
|
|
You should have received a copy of the GNU Lesser General Public
|
|
|
|
License along with this library; if not, write to the Free Software
|
|
|
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
2001-04-26 16:45:43 +00:00
|
|
|
|
|
|
|
Sam Lantinga
|
2001-12-14 12:38:15 +00:00
|
|
|
slouken@libsdl.org
|
2001-04-26 16:45:43 +00:00
|
|
|
*/
|
2006-02-21 08:46:50 +00:00
|
|
|
#include "SDL_config.h"
|
2001-04-26 16:45:43 +00:00
|
|
|
|
|
|
|
/* Allow access to a raw mixing buffer */
|
|
|
|
|
2006-02-25 22:18:25 +00:00
|
|
|
#define WIN32_LEAN_AND_MEAN
|
|
|
|
#include <windows.h>
|
2001-04-26 16:45:43 +00:00
|
|
|
#include <mmsystem.h>
|
|
|
|
|
|
|
|
#include "SDL_timer.h"
|
2006-02-10 06:48:43 +00:00
|
|
|
#include "SDL_audio.h"
|
2006-02-16 10:11:48 +00:00
|
|
|
#include "../SDL_audio_c.h"
|
2001-04-26 16:45:43 +00:00
|
|
|
#include "SDL_dibaudio.h"
|
2001-05-23 23:35:10 +00:00
|
|
|
#if defined(_WIN32_WCE) && (_WIN32_WCE < 300)
|
|
|
|
#include "win_ce_semaphore.h"
|
|
|
|
#endif
|
2001-04-26 16:45:43 +00:00
|
|
|
|
2006-10-17 09:15:21 +00:00
|
|
|
#if defined(_WIN32_WCE)
|
|
|
|
#define WINDOWS_OS_NAME "Windows CE/PocketPC"
|
|
|
|
#elif defined(WIN64)
|
|
|
|
#define WINDOWS_OS_NAME "Win64"
|
|
|
|
#else
|
|
|
|
#define WINDOWS_OS_NAME "Win32"
|
|
|
|
#endif
|
2001-04-26 16:45:43 +00:00
|
|
|
|
|
|
|
/* The Win32 callback for filling the WAVE device */
|
2006-07-10 21:04:37 +00:00
|
|
|
static void CALLBACK
|
|
|
|
FillSound(HWAVEOUT hwo, UINT uMsg, DWORD_PTR dwInstance,
|
|
|
|
DWORD dwParam1, DWORD dwParam2)
|
2001-04-26 16:45:43 +00:00
|
|
|
{
|
2006-07-10 21:04:37 +00:00
|
|
|
SDL_AudioDevice *this = (SDL_AudioDevice *) dwInstance;
|
2001-04-26 16:45:43 +00:00
|
|
|
|
2006-07-10 21:04:37 +00:00
|
|
|
/* Only service "buffer done playing" messages */
|
|
|
|
if (uMsg != WOM_DONE)
|
|
|
|
return;
|
2001-04-26 16:45:43 +00:00
|
|
|
|
2006-07-10 21:04:37 +00:00
|
|
|
/* Signal that we are done playing a buffer */
|
2001-05-23 23:35:10 +00:00
|
|
|
#if defined(_WIN32_WCE) && (_WIN32_WCE < 300)
|
2006-10-17 09:15:21 +00:00
|
|
|
ReleaseSemaphoreCE(this->hidden->audio_sem, 1, NULL);
|
2001-05-23 23:35:10 +00:00
|
|
|
#else
|
2006-10-17 09:15:21 +00:00
|
|
|
ReleaseSemaphore(this->hidden->audio_sem, 1, NULL);
|
2001-05-23 23:35:10 +00:00
|
|
|
#endif
|
2001-04-26 16:45:43 +00:00
|
|
|
}
|
|
|
|
|
2006-07-10 21:04:37 +00:00
|
|
|
static void
|
|
|
|
SetMMerror(char *function, MMRESULT code)
|
2001-04-26 16:45:43 +00:00
|
|
|
{
|
2006-07-10 21:04:37 +00:00
|
|
|
size_t len;
|
|
|
|
char errbuf[MAXERRORLENGTH];
|
2001-05-23 23:35:10 +00:00
|
|
|
#ifdef _WIN32_WCE
|
2006-07-10 21:04:37 +00:00
|
|
|
wchar_t werrbuf[MAXERRORLENGTH];
|
2001-05-23 23:35:10 +00:00
|
|
|
#endif
|
2001-04-26 16:45:43 +00:00
|
|
|
|
2006-07-10 21:04:37 +00:00
|
|
|
SDL_snprintf(errbuf, SDL_arraysize(errbuf), "%s: ", function);
|
|
|
|
len = SDL_strlen(errbuf);
|
2001-05-23 23:35:10 +00:00
|
|
|
|
|
|
|
#ifdef _WIN32_WCE
|
2006-07-10 21:04:37 +00:00
|
|
|
/* UNICODE version */
|
|
|
|
waveOutGetErrorText(code, werrbuf, MAXERRORLENGTH - len);
|
|
|
|
WideCharToMultiByte(CP_ACP, 0, werrbuf, -1, errbuf + len,
|
|
|
|
MAXERRORLENGTH - len, NULL, NULL);
|
2001-05-23 23:35:10 +00:00
|
|
|
#else
|
2006-07-10 21:04:37 +00:00
|
|
|
waveOutGetErrorText(code, errbuf + len, (UINT) (MAXERRORLENGTH - len));
|
2001-05-23 23:35:10 +00:00
|
|
|
#endif
|
|
|
|
|
2006-07-10 21:04:37 +00:00
|
|
|
SDL_SetError("%s", errbuf);
|
2001-04-26 16:45:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Set high priority for the audio thread */
|
2006-07-10 21:04:37 +00:00
|
|
|
static void
|
2006-10-17 09:15:21 +00:00
|
|
|
WINWAVEOUT_ThreadInit(_THIS)
|
2001-04-26 16:45:43 +00:00
|
|
|
{
|
2006-07-10 21:04:37 +00:00
|
|
|
SetThreadPriority(GetCurrentThread(), THREAD_PRIORITY_HIGHEST);
|
2001-04-26 16:45:43 +00:00
|
|
|
}
|
|
|
|
|
2006-07-10 21:04:37 +00:00
|
|
|
void
|
2006-10-17 09:15:21 +00:00
|
|
|
WINWAVEOUT_WaitDevice(_THIS)
|
2001-04-26 16:45:43 +00:00
|
|
|
{
|
2006-07-10 21:04:37 +00:00
|
|
|
/* Wait for an audio chunk to finish */
|
2001-05-23 23:35:10 +00:00
|
|
|
#if defined(_WIN32_WCE) && (_WIN32_WCE < 300)
|
2006-10-17 09:15:21 +00:00
|
|
|
WaitForSemaphoreCE(this->hidden->audio_sem, INFINITE);
|
2001-05-23 23:35:10 +00:00
|
|
|
#else
|
2006-10-17 09:15:21 +00:00
|
|
|
WaitForSingleObject(this->hidden->audio_sem, INFINITE);
|
2001-05-23 23:35:10 +00:00
|
|
|
#endif
|
2001-04-26 16:45:43 +00:00
|
|
|
}
|
|
|
|
|
2006-07-10 21:04:37 +00:00
|
|
|
Uint8 *
|
2006-10-17 09:15:21 +00:00
|
|
|
WINWAVEOUT_GetDeviceBuf(_THIS)
|
2001-04-26 16:45:43 +00:00
|
|
|
{
|
2006-10-17 09:15:21 +00:00
|
|
|
return (Uint8 *) (this->hidden->wavebuf[this->hidden->next_buffer].lpData);
|
2001-04-26 16:45:43 +00:00
|
|
|
}
|
|
|
|
|
2006-07-10 21:04:37 +00:00
|
|
|
void
|
2006-10-17 09:15:21 +00:00
|
|
|
WINWAVEOUT_PlayDevice(_THIS)
|
2001-04-26 16:45:43 +00:00
|
|
|
{
|
2006-07-10 21:04:37 +00:00
|
|
|
/* Queue it up */
|
2006-10-17 09:15:21 +00:00
|
|
|
waveOutWrite(this->hidden->sound,
|
|
|
|
&this->hidden->wavebuf[this->hidden->next_buffer],
|
|
|
|
sizeof (this->hidden->wavebuf[0]));
|
|
|
|
this->hidden->next_buffer = (this->hidden->next_buffer + 1) % NUM_BUFFERS;
|
2001-04-26 16:45:43 +00:00
|
|
|
}
|
|
|
|
|
2006-07-10 21:04:37 +00:00
|
|
|
void
|
2006-10-17 09:15:21 +00:00
|
|
|
WINWAVEOUT_WaitDone(_THIS)
|
2001-04-26 16:45:43 +00:00
|
|
|
{
|
2006-07-10 21:04:37 +00:00
|
|
|
int i, left;
|
|
|
|
|
|
|
|
do {
|
|
|
|
left = NUM_BUFFERS;
|
|
|
|
for (i = 0; i < NUM_BUFFERS; ++i) {
|
2006-10-17 09:15:21 +00:00
|
|
|
if (this->hidden->wavebuf[i].dwFlags & WHDR_DONE) {
|
2006-07-10 21:04:37 +00:00
|
|
|
--left;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (left > 0) {
|
|
|
|
SDL_Delay(100);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
while (left > 0);
|
2001-04-26 16:45:43 +00:00
|
|
|
}
|
|
|
|
|
2006-07-10 21:04:37 +00:00
|
|
|
void
|
2006-10-17 09:15:21 +00:00
|
|
|
WINWAVEOUT_CloseDevice(_THIS)
|
2001-04-26 16:45:43 +00:00
|
|
|
{
|
2006-07-10 21:04:37 +00:00
|
|
|
/* Close up audio */
|
2006-10-17 09:15:21 +00:00
|
|
|
if (this->hidden != NULL) {
|
|
|
|
int i;
|
|
|
|
|
|
|
|
if (this->hidden->audio_sem) {
|
2001-05-23 23:35:10 +00:00
|
|
|
#if defined(_WIN32_WCE) && (_WIN32_WCE < 300)
|
2006-10-17 09:15:21 +00:00
|
|
|
CloseSynchHandle(this->hidden->audio_sem);
|
2001-05-23 23:35:10 +00:00
|
|
|
#else
|
2006-10-17 09:15:21 +00:00
|
|
|
CloseHandle(this->hidden->audio_sem);
|
2001-05-23 23:35:10 +00:00
|
|
|
#endif
|
2006-10-17 09:15:21 +00:00
|
|
|
this->hidden->audio_sem = 0;
|
|
|
|
}
|
2006-07-10 21:04:37 +00:00
|
|
|
|
2006-10-17 09:15:21 +00:00
|
|
|
if (this->hidden->sound) {
|
|
|
|
waveOutClose(this->hidden->sound);
|
|
|
|
this->hidden->sound = 0;
|
2006-07-10 21:04:37 +00:00
|
|
|
}
|
2006-10-17 09:15:21 +00:00
|
|
|
|
|
|
|
/* Clean up mixing buffers */
|
|
|
|
for (i = 0; i < NUM_BUFFERS; ++i) {
|
|
|
|
if (this->hidden->wavebuf[i].dwUser != 0xFFFF) {
|
|
|
|
waveOutUnprepareHeader(this->hidden->sound,
|
|
|
|
&this->hidden->wavebuf[i],
|
|
|
|
sizeof (this->hidden->wavebuf[i]));
|
|
|
|
this->hidden->wavebuf[i].dwUser = 0xFFFF;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if (this->hidden->mixbuf != NULL) {
|
|
|
|
/* Free raw mixing buffer */
|
|
|
|
SDL_free(this->hidden->mixbuf);
|
|
|
|
this->hidden->mixbuf = NULL;
|
|
|
|
}
|
|
|
|
|
|
|
|
SDL_free(this->hidden);
|
|
|
|
this->hidden = NULL;
|
2006-07-10 21:04:37 +00:00
|
|
|
}
|
2001-04-26 16:45:43 +00:00
|
|
|
}
|
|
|
|
|
2006-07-10 21:04:37 +00:00
|
|
|
int
|
2006-10-17 09:15:21 +00:00
|
|
|
WINWAVEOUT_OpenDevice(_THIS, const char *devname, int iscapture)
|
2001-04-26 16:45:43 +00:00
|
|
|
{
|
2006-10-17 09:15:21 +00:00
|
|
|
SDL_AudioFormat test_format = SDL_FirstAudioFormat(this->spec.format);
|
|
|
|
int valid_datatype = 0;
|
2006-07-10 21:04:37 +00:00
|
|
|
MMRESULT result;
|
|
|
|
WAVEFORMATEX waveformat;
|
2006-10-17 09:15:21 +00:00
|
|
|
int i;
|
|
|
|
|
|
|
|
/* Initialize all variables that we clean on shutdown */
|
|
|
|
this->hidden = (struct SDL_PrivateAudioData *)
|
|
|
|
SDL_malloc((sizeof *this->hidden));
|
|
|
|
if (this->hidden == NULL) {
|
|
|
|
SDL_OutOfMemory();
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
SDL_memset(this->hidden, 0, (sizeof *this->hidden));
|
2006-07-10 21:04:37 +00:00
|
|
|
|
|
|
|
/* Initialize the wavebuf structures for closing */
|
|
|
|
for (i = 0; i < NUM_BUFFERS; ++i)
|
2006-10-17 09:15:21 +00:00
|
|
|
this->hidden->wavebuf[i].dwUser = 0xFFFF;
|
|
|
|
|
|
|
|
while ((!valid_datatype) && (test_format)) {
|
|
|
|
valid_datatype = 1;
|
2006-10-18 10:49:23 +00:00
|
|
|
this->spec.format = test_format;
|
2006-10-17 09:15:21 +00:00
|
|
|
switch (test_format) {
|
|
|
|
case AUDIO_U8:
|
|
|
|
case AUDIO_S16:
|
|
|
|
case AUDIO_S32:
|
|
|
|
break; /* valid. */
|
|
|
|
|
|
|
|
default:
|
|
|
|
valid_datatype = 0;
|
|
|
|
test_format = SDL_NextAudioFormat();
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if (!valid_datatype) {
|
|
|
|
WINWAVEOUT_CloseDevice(this);
|
|
|
|
SDL_SetError("Unsupported audio format");
|
|
|
|
return 0;
|
|
|
|
}
|
2006-07-10 21:04:37 +00:00
|
|
|
|
|
|
|
/* Set basic WAVE format parameters */
|
2006-10-17 09:15:21 +00:00
|
|
|
SDL_memset(&waveformat, '\0', sizeof (waveformat));
|
2006-07-10 21:04:37 +00:00
|
|
|
waveformat.wFormatTag = WAVE_FORMAT_PCM;
|
2006-10-17 09:15:21 +00:00
|
|
|
waveformat.wBitsPerSample = SDL_AUDIO_BITSIZE(this->spec.format);
|
2006-07-10 21:04:37 +00:00
|
|
|
|
2006-10-17 09:15:21 +00:00
|
|
|
if (this->spec.channels > 2)
|
|
|
|
this->spec.channels = 2; /* !!! FIXME: is this right? */
|
|
|
|
|
|
|
|
waveformat.nChannels = this->spec.channels;
|
|
|
|
waveformat.nSamplesPerSec = this->spec.freq;
|
2006-07-10 21:04:37 +00:00
|
|
|
waveformat.nBlockAlign =
|
|
|
|
waveformat.nChannels * (waveformat.wBitsPerSample / 8);
|
|
|
|
waveformat.nAvgBytesPerSec =
|
|
|
|
waveformat.nSamplesPerSec * waveformat.nBlockAlign;
|
|
|
|
|
|
|
|
/* Check the buffer size -- minimum of 1/4 second (word aligned) */
|
2006-10-17 09:15:21 +00:00
|
|
|
if (this->spec.samples < (this->spec.freq / 4))
|
|
|
|
this->spec.samples = ((this->spec.freq / 4) + 3) & ~3;
|
2006-07-10 21:04:37 +00:00
|
|
|
|
|
|
|
/* Update the fragment size as size in bytes */
|
2006-10-17 09:15:21 +00:00
|
|
|
SDL_CalculateAudioSpec(&this->spec);
|
2006-07-10 21:04:37 +00:00
|
|
|
|
|
|
|
/* Open the audio device */
|
2006-10-17 09:15:21 +00:00
|
|
|
result = waveOutOpen(&this->hidden->sound, WAVE_MAPPER, &waveformat,
|
2006-07-10 21:04:37 +00:00
|
|
|
(DWORD_PTR) FillSound, (DWORD_PTR) this,
|
|
|
|
CALLBACK_FUNCTION);
|
|
|
|
if (result != MMSYSERR_NOERROR) {
|
2006-10-17 09:15:21 +00:00
|
|
|
WINWAVEOUT_CloseDevice(this);
|
2006-07-10 21:04:37 +00:00
|
|
|
SetMMerror("waveOutOpen()", result);
|
2006-10-17 09:15:21 +00:00
|
|
|
return 0;
|
2006-07-10 21:04:37 +00:00
|
|
|
}
|
2001-04-26 16:45:43 +00:00
|
|
|
#ifdef SOUND_DEBUG
|
2006-07-10 21:04:37 +00:00
|
|
|
/* Check the sound device we retrieved */
|
|
|
|
{
|
|
|
|
WAVEOUTCAPS caps;
|
|
|
|
|
2006-10-17 09:15:21 +00:00
|
|
|
result = waveOutGetDevCaps((UINT) this->hidden->sound,
|
|
|
|
&caps, sizeof(caps));
|
2006-07-10 21:04:37 +00:00
|
|
|
if (result != MMSYSERR_NOERROR) {
|
2006-10-17 09:15:21 +00:00
|
|
|
WINWAVEOUT_CloseDevice(this);
|
2006-07-10 21:04:37 +00:00
|
|
|
SetMMerror("waveOutGetDevCaps()", result);
|
2006-10-17 09:15:21 +00:00
|
|
|
return 0;
|
2006-07-10 21:04:37 +00:00
|
|
|
}
|
|
|
|
printf("Audio device: %s\n", caps.szPname);
|
|
|
|
}
|
2001-04-26 16:45:43 +00:00
|
|
|
#endif
|
|
|
|
|
2006-07-10 21:04:37 +00:00
|
|
|
/* Create the audio buffer semaphore */
|
2006-10-17 09:15:21 +00:00
|
|
|
this->hidden->audio_sem =
|
2001-05-23 23:35:10 +00:00
|
|
|
#if defined(_WIN32_WCE) && (_WIN32_WCE < 300)
|
2006-10-17 09:15:21 +00:00
|
|
|
CreateSemaphoreCE(NULL, NUM_BUFFERS - 1, NUM_BUFFERS, NULL);
|
2001-05-23 23:35:10 +00:00
|
|
|
#else
|
2006-10-17 09:15:21 +00:00
|
|
|
CreateSemaphore(NULL, NUM_BUFFERS - 1, NUM_BUFFERS, NULL);
|
2001-05-23 23:35:10 +00:00
|
|
|
#endif
|
2006-10-17 09:15:21 +00:00
|
|
|
if (this->hidden->audio_sem == NULL) {
|
|
|
|
WINWAVEOUT_CloseDevice(this);
|
2006-07-10 21:04:37 +00:00
|
|
|
SDL_SetError("Couldn't create semaphore");
|
2006-10-17 09:15:21 +00:00
|
|
|
return 0;
|
2006-07-10 21:04:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Create the sound buffers */
|
2006-10-17 09:15:21 +00:00
|
|
|
this->hidden->mixbuf = (Uint8 *) SDL_malloc(NUM_BUFFERS * this->spec.size);
|
2006-10-18 10:49:23 +00:00
|
|
|
if (this->hidden->mixbuf == NULL) {
|
2006-10-17 09:15:21 +00:00
|
|
|
WINWAVEOUT_CloseDevice(this);
|
|
|
|
SDL_OutOfMemory();
|
|
|
|
return 0;
|
2006-07-10 21:04:37 +00:00
|
|
|
}
|
|
|
|
for (i = 0; i < NUM_BUFFERS; ++i) {
|
2006-10-17 09:15:21 +00:00
|
|
|
SDL_memset(&this->hidden->wavebuf[i], '\0',
|
|
|
|
sizeof (this->hidden->wavebuf[i]));
|
|
|
|
this->hidden->wavebuf[i].dwBufferLength = this->spec.size;
|
|
|
|
this->hidden->wavebuf[i].dwFlags = WHDR_DONE;
|
|
|
|
this->hidden->wavebuf[i].lpData =
|
|
|
|
(LPSTR) &this->hidden->mixbuf[i * this->spec.size];
|
|
|
|
result = waveOutPrepareHeader(this->hidden->sound,
|
|
|
|
&this->hidden->wavebuf[i],
|
|
|
|
sizeof (this->hidden->wavebuf[i]));
|
2006-07-10 21:04:37 +00:00
|
|
|
if (result != MMSYSERR_NOERROR) {
|
2006-10-17 09:15:21 +00:00
|
|
|
WINWAVEOUT_CloseDevice(this);
|
2006-07-10 21:04:37 +00:00
|
|
|
SetMMerror("waveOutPrepareHeader()", result);
|
2006-10-17 09:15:21 +00:00
|
|
|
return 0;
|
2006-07-10 21:04:37 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2006-10-17 09:15:21 +00:00
|
|
|
return 1; /* Ready to go! */
|
2001-04-26 16:45:43 +00:00
|
|
|
}
|
2006-07-10 21:04:37 +00:00
|
|
|
|
2006-10-17 09:15:21 +00:00
|
|
|
|
|
|
|
static int
|
|
|
|
WINWAVEOUT_Init(SDL_AudioDriverImpl *impl)
|
|
|
|
{
|
|
|
|
/* Set the function pointers */
|
|
|
|
impl->OpenDevice = WINWAVEOUT_OpenDevice;
|
|
|
|
impl->ThreadInit = WINWAVEOUT_ThreadInit;
|
|
|
|
impl->PlayDevice = WINWAVEOUT_PlayDevice;
|
|
|
|
impl->WaitDevice = WINWAVEOUT_WaitDevice;
|
|
|
|
impl->WaitDone = WINWAVEOUT_WaitDone;
|
|
|
|
impl->GetDeviceBuf = WINWAVEOUT_GetDeviceBuf;
|
|
|
|
impl->CloseDevice = WINWAVEOUT_CloseDevice;
|
|
|
|
impl->OnlyHasDefaultOutputDevice = 1; /* !!! FIXME: Is this true? */
|
|
|
|
|
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
AudioBootStrap WINWAVEOUT_bootstrap = {
|
|
|
|
"waveout", WINDOWS_OS_NAME " WaveOut", WINWAVEOUT_Init, 0
|
|
|
|
};
|
|
|
|
|
2006-07-10 21:04:37 +00:00
|
|
|
/* vi: set ts=4 sw=4 expandtab: */
|