mirror of
https://github.com/game-stop/veejay.git
synced 2025-12-15 12:20:03 +01:00
use memset, indent
This commit is contained in:
@@ -228,8 +228,8 @@ void sample_init(int len, void *font, editlist *pedl)
|
|||||||
{
|
{
|
||||||
if (!initialized) {
|
if (!initialized) {
|
||||||
int i;
|
int i;
|
||||||
for (i = 0; i < SAMPLE_MAX_SAMPLES; i++)
|
veejay_memset(avail_num, 0, sizeof(avail_num));
|
||||||
avail_num[i] = 0;
|
|
||||||
this_sample_id = 1; /* do not start with zero */
|
this_sample_id = 1; /* do not start with zero */
|
||||||
if (!
|
if (!
|
||||||
(SampleHash =
|
(SampleHash =
|
||||||
@@ -1527,16 +1527,6 @@ int sample_start_playing(int s1, int no_cache)
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
int sample_is_deleted(int s1)
|
|
||||||
{
|
|
||||||
int i;
|
|
||||||
for (i = 0; i < next_avail_num; i++) {
|
|
||||||
if (avail_num[i] == s1)
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
int sample_set_chain_source(int s1, int position, int input)
|
int sample_set_chain_source(int s1, int position, int input)
|
||||||
{
|
{
|
||||||
sample_info *sample;
|
sample_info *sample;
|
||||||
|
|||||||
Reference in New Issue
Block a user