mirror of
https://github.com/linux-speakup/espeakup.git
synced 2026-08-09 09:19:09 +02:00
added a couple of #defines to the alsa code
This commit is contained in:
parent
739e074072
commit
4de82bf24c
1 changed files with 5 additions and 0 deletions
5
alsa.c
5
alsa.c
|
|
@ -25,8 +25,13 @@
|
|||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <limits.h>
|
||||
|
||||
#define ALSA_PCM_NEW_HW_PARAMS_API
|
||||
#define ALSA_PCM_NEW_SW_PARAMS_API
|
||||
#include <alsa/asoundlib.h>
|
||||
#undef ALSA_PCM_NEW_HW_PARAMS_API
|
||||
#undef ALSA_PCM_NEW_SW_PARAMS_API
|
||||
|
||||
#include "espeakup.h"
|
||||
|
||||
static pthread_mutex_t audio_mutex = PTHREAD_MUTEX_INITIALIZER;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue