Skip to content
Test application for the ALSA AVB driver
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Test application for the ALSA AVB driver.

Usage avbtest {-p|-r|-a|-b} <filename> -n <number of frames> -d <devicename> -t -s

  • Playback mode (-t)

    • The provided file is read and played over the AVB ALSA driver
    • Or through the specified device using -d switch.
  • Record mode (-r)

    • Audio streamed over AVB AlSA driver is recorded and stored in the given file.
    • Or audio streamed through the specified device with -d switch is recorded and stored in the given file.
  • Demo mode -a: Demo mode device 'a'. Streams the provided stream over AVB with timestamp.

  • Demo mode -b: Demot mode device 'b'. Playsback the provided file and also reocrds the AVB stream input and play it back through the prodivded analog audio device with the playback synchronized to the presentation time.

  • <file>: WAV file to be read (in transmit mode) or to be written to (in reception mode).

  • -n <numframes>: Number of frames either to be transmitted or received.

  • -d <devname>: Name of the analog audio device to be used.

  • -t: Timestamp mode: The AVB frames are transmitted along with the presentation time. Or in record mode the presentation time are received and can be used for synchronization.


  • Only uncompressed WAV files are supported.

  • The AVB ALSA driver has to be loaded (using following steps)

  • The gPTPd daemon has to running to test the synchronized audio streaming over AVB

Test Environment

  • 2 Beagle bone blacks connected togther with a cross ehternet cable.
  • The beagle bone black in the transmit mode should have a analog audio card connected.
  • 2 Channels of the analog audio card are connected to a test PC.
You can’t perform that action at this time.