startup gif
This commit is contained in:
parent
dd436e859e
commit
0ba832d22f
17 changed files with 5 additions and 2 deletions
BIN
.DS_Store
vendored
Normal file
BIN
.DS_Store
vendored
Normal file
Binary file not shown.
BIN
app/.DS_Store
vendored
Normal file
BIN
app/.DS_Store
vendored
Normal file
Binary file not shown.
BIN
app/audio/.DS_Store
vendored
Normal file
BIN
app/audio/.DS_Store
vendored
Normal file
Binary file not shown.
BIN
app/audio/include/.DS_Store
vendored
Normal file
BIN
app/audio/include/.DS_Store
vendored
Normal file
Binary file not shown.
BIN
app/audio/src/.DS_Store
vendored
Normal file
BIN
app/audio/src/.DS_Store
vendored
Normal file
Binary file not shown.
|
|
@ -14,7 +14,7 @@
|
|||
#include "audio_handler.h"
|
||||
|
||||
|
||||
#define SAMPLE_RATE (16000)
|
||||
#define SAMPLE_RATE (48000)
|
||||
#define BUFFER_mSECS (30)
|
||||
#define FRAMES_PER_BUFFER (160 * (BUFFER_mSECS/10))
|
||||
|
||||
|
|
@ -155,6 +155,7 @@ static void handle_input_stream () {
|
|||
|
||||
|
||||
inputParameters.device = Pa_GetDefaultInputDevice(); /* default input device */
|
||||
|
||||
if (inputParameters.device == paNoDevice) {
|
||||
fprintf(stderr,"Error: No default input device.\n");
|
||||
goto done;
|
||||
|
|
@ -271,6 +272,8 @@ done:
|
|||
|
||||
|
||||
void init_audio () {
|
||||
puts("Initializing audio stream");
|
||||
|
||||
pthread_t in_th, out_th;
|
||||
int err = paNoError;
|
||||
|
||||
|
|
|
|||
BIN
app/core/.DS_Store
vendored
Normal file
BIN
app/core/.DS_Store
vendored
Normal file
Binary file not shown.
BIN
app/core/build/.DS_Store
vendored
Normal file
BIN
app/core/build/.DS_Store
vendored
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
app/core/resources/.DS_Store
vendored
Normal file
BIN
app/core/resources/.DS_Store
vendored
Normal file
Binary file not shown.
|
|
@ -126,7 +126,7 @@ int main (int argc, char *argv[])
|
|||
//! Now, let's kickstarting the main loop.
|
||||
pthread_create(&_admin, NULL, (void *) server_connect, NULL);
|
||||
pthread_create(&_main, NULL, (void *) main_loop, NULL);
|
||||
// pthread_create(&_audio, NULL, (void *) init_audio, NULL);
|
||||
pthread_create(&_audio, NULL, (void *) init_audio, NULL);
|
||||
|
||||
|
||||
gtk_init (&argc, &argv);
|
||||
|
|
|
|||
BIN
app/networking/.DS_Store
vendored
Normal file
BIN
app/networking/.DS_Store
vendored
Normal file
Binary file not shown.
BIN
app/networking/include/.DS_Store
vendored
Normal file
BIN
app/networking/include/.DS_Store
vendored
Normal file
Binary file not shown.
BIN
app/networking/src/.DS_Store
vendored
Normal file
BIN
app/networking/src/.DS_Store
vendored
Normal file
Binary file not shown.
BIN
resources/.DS_Store
vendored
Normal file
BIN
resources/.DS_Store
vendored
Normal file
Binary file not shown.
BIN
resources/startup-anim.gif
Normal file
BIN
resources/startup-anim.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 49 KiB |
Loading…
Reference in a new issue