misc fixes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13519 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -92,7 +92,7 @@ auvia_mem_delete(auvia_mem *mem)
|
|||||||
free(mem);
|
free(mem);
|
||||||
}
|
}
|
||||||
|
|
||||||
void *
|
static void *
|
||||||
auvia_mem_alloc(auvia_dev *card, size_t size)
|
auvia_mem_alloc(auvia_dev *card, size_t size)
|
||||||
{
|
{
|
||||||
auvia_mem *mem;
|
auvia_mem *mem;
|
||||||
@@ -106,7 +106,7 @@ auvia_mem_alloc(auvia_dev *card, size_t size)
|
|||||||
return mem;
|
return mem;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
static void
|
||||||
auvia_mem_free(auvia_dev *card, void *ptr)
|
auvia_mem_free(auvia_dev *card, void *ptr)
|
||||||
{
|
{
|
||||||
auvia_mem *mem;
|
auvia_mem *mem;
|
||||||
@@ -441,7 +441,7 @@ make_device_names(
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
status_t
|
static status_t
|
||||||
auvia_init(auvia_dev * card)
|
auvia_init(auvia_dev * card)
|
||||||
{
|
{
|
||||||
uint32 pr;
|
uint32 pr;
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ static sem_id loglock;
|
|||||||
|
|
||||||
void debug_printf(const char *text,...);
|
void debug_printf(const char *text,...);
|
||||||
void log_printf(const char *text,...);
|
void log_printf(const char *text,...);
|
||||||
void log_create();
|
void log_create(void);
|
||||||
|
|
||||||
void debug_printf(const char *text,...)
|
void debug_printf(const char *text,...)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -85,7 +85,7 @@ auvia_reg_write_32(device_config *config, int regno, uint32 value)
|
|||||||
|
|
||||||
#define AUVIA_TIMEOUT 200
|
#define AUVIA_TIMEOUT 200
|
||||||
|
|
||||||
int
|
static int
|
||||||
auvia_codec_waitready(device_config *config)
|
auvia_codec_waitready(device_config *config)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
@@ -101,7 +101,7 @@ auvia_codec_waitready(device_config *config)
|
|||||||
return B_OK;
|
return B_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
static int
|
||||||
auvia_codec_waitvalid(device_config *config)
|
auvia_codec_waitvalid(device_config *config)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|||||||
@@ -30,6 +30,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <OS.h>
|
#include <OS.h>
|
||||||
|
#include <string.h>
|
||||||
#include <MediaDefs.h>
|
#include <MediaDefs.h>
|
||||||
#include "multi_audio.h"
|
#include "multi_audio.h"
|
||||||
#include "multi.h"
|
#include "multi.h"
|
||||||
@@ -661,7 +662,7 @@ auvia_get_description(auvia_dev *card, multi_description *data)
|
|||||||
strncpy(data->friendly_name, FRIENDLY_NAME_8237, 32);
|
strncpy(data->friendly_name, FRIENDLY_NAME_8237, 32);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
strncpy(data->friendly_name, FRIENDLY_NAME);
|
strncpy(data->friendly_name, FRIENDLY_NAME, 32);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
strcpy(data->vendor_info, AUTHOR);
|
strcpy(data->vendor_info, AUTHOR);
|
||||||
@@ -813,7 +814,7 @@ auvia_get_buffers(auvia_dev *card, multi_buffer_list *data)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void
|
static void
|
||||||
auvia_play_inth(void* inthparams)
|
auvia_play_inth(void* inthparams)
|
||||||
{
|
{
|
||||||
auvia_stream *stream = (auvia_stream *)inthparams;
|
auvia_stream *stream = (auvia_stream *)inthparams;
|
||||||
@@ -834,7 +835,7 @@ auvia_play_inth(void* inthparams)
|
|||||||
release_sem_etc(stream->card->buffer_ready_sem, 1, B_DO_NOT_RESCHEDULE);
|
release_sem_etc(stream->card->buffer_ready_sem, 1, B_DO_NOT_RESCHEDULE);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
static void
|
||||||
auvia_record_inth(void* inthparams)
|
auvia_record_inth(void* inthparams)
|
||||||
{
|
{
|
||||||
auvia_stream *stream = (auvia_stream *)inthparams;
|
auvia_stream *stream = (auvia_stream *)inthparams;
|
||||||
|
|||||||
Reference in New Issue
Block a user