LMMS
Loading...
Searching...
No Matches
player.cpp File Reference
#include "Music_Player.h"
#include "Audio_Scope.h"
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include "SDL.h"

Functions

void handle_error (const char *)
static void init ()
static void start_track (int track, const char *path)
int main (int argc, char **argv)

Variables

int const scope_width = 512
static bool paused
static Audio_Scopescope
static Music_Playerplayer
static short scope_buf [scope_width *2]

Function Documentation

◆ handle_error()

void handle_error ( const char * error)

◆ init()

void init ( void )
static

◆ main()

int main ( int argc,
char ** argv )

◆ start_track()

void start_track ( int track,
const char * path )
static

Variable Documentation

◆ paused

bool paused
static

◆ player

Music_Player* player
static

◆ scope

Audio_Scope* scope
static

◆ scope_buf

short scope_buf[scope_width *2]
static

◆ scope_width

int const scope_width = 512