Skip to content

not play sounds #11

@ghost

Description

i'm using the example ao_live.lua but show this error, my operating system is GNU/Linux:

$ luajit ao_live.lua

=================================================
=> type:	live
=> priority:	50
=> options:
	 - server
	 - sink
	 - dev
	 - id
	 - verbose
	 - quiet
	 - matrix
	 - debug
	 - client_namebuffer_time
=> shortName:	pulse
=> preferredByteFormat:	native
=> comment:	Outputs to the PulseAudio Sound Server
=> name:	PulseAudio Output
=================================================
=> type:	live
=> priority:	20
=> options:
	 - dsp
	 - dev
	 - id
	 - buffer_time
	 - verbose
	 - quiet
	 - matrix
	 - debug
=> shortName:	oss
=> preferredByteFormat:	native
=> comment:	Outputs audio to the Open Sound System driver.
=> name:	OSS audio driver output 
=================================================
=> type:	live
=> priority:	0
=> options:
	 - debug
	 - verbose
	 - matrix
	 - quiet
=> shortName:	null
=> preferredByteFormat:	native
=> comment:	This driver does nothing.
=> name:	Null output
=================================================
=> type:	file
=> priority:	0
=> options:
	 - matrix
	 - verbose
	 - quiet
	 - debug
=> shortName:	wav
=> preferredByteFormat:	little
=> comment:	Sends output to a .wav file
=> name:	WAV file output
=================================================
=> type:	file
=> priority:	0
=> options:
	 - byteorder
	 - matrix
	 - verbose
	 - quiet
	 - debug
=> shortName:	raw
=> preferredByteFormat:	native
=> comment:	Writes raw audio samples to a file
=> name:	RAW sample output
=================================================
=> type:	file
=> priority:	0
=> options:
	 - matrix
	 - verbose
	 - quiet
	 - debug
=> shortName:	au
=> preferredByteFormat:	big
=> comment:	Sends output to a .au file
=> name:	AU file output
=================================================
=> Device ID: 0
=================================================
luajit: ao_live.lua:32: cannot open the device
stack traceback:
	[C]: in function 'openLive'
	ao_live.lua:32: in main chunk
	[C]: at 0x5564d7c0cf40

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions