Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
damico committed Oct 21, 2023
1 parent 6cd2e1f commit 7228c1c
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions src/main/java/org/jdamico/javax25/App.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
*/
public class App
{
public static void main( String[] args )
{
Soundcard.enumerate();
public static void main( String[] args )
{
Soundcard.enumerate();

Properties p = System.getProperties();

Expand All @@ -32,7 +32,7 @@ public static void main( String[] args )
} catch (Exception e) {
System.out.println("Exception trying to create an Afsk1200 object: "+e.getMessage());
}


/*** preparing to generate or capture audio packets ***/

Expand All @@ -57,10 +57,12 @@ public static void main( String[] args )
/*** listen for incoming packets ***/

if (input != null) {
System.out.printf("Listening for packets\n");
//sc.openSoundInput(input);
sc.receive();
System.out.printf("Listening for packets\n");
//sc.openSoundInput(input);
sc.receive();
}else {
System.err.println("Input is null!");
}
}

}
}

0 comments on commit 7228c1c

Please sign in to comment.